home / cp40x

names

7 rows where case_id = 2527400

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5575407 2527400 2527400 plaintiff Sprigge John (legal representative) 589377 589377 Sprigge, John, of Thaxsted, executor of 0
5575408 2527400 2527400 plaintiff Sprigge John     Sprigge, John 1
5575409 2527400 2527400 defendant Plomme John cutler 589377 589377 Plomme, John, of Thaxsted, cutler 0
5575410 2527400 2527400 defendant Waleys William laborer 650907 650907 Waleys, William, of Parva Rayne, laborer 1
5575411 2527400 2527400 defendant Wangford Henry husbandman 588899 588899 Wangford, Henry, of Branktre, husbandman 2
5575412 2527400 2527400 defendant Leder John laborer 589377 589377 Leder, John, of Thaxsted, laborer 3
5575413 2527400 2527400 defendant Bayly John husbandman 596122 596122 Bayly, John, of Sampford, husbandman 4

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 13.791ms