home / cp40x

names

7 rows where case_id = 1909494

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3647127 1909494 1909494 plaintiff Lambard Henry     Lambard, Henry 0
3647128 1909494 1909494 defendant Bryon John baker 597465 597465 Bryon, John, of Ely, Cams, baker 0
3647129 1909494 1909494 defendant Woodcok Thomas husbandman 587227 587227 Woodcok, Thomas, of Upwell, husbandman 1
3647130 1909494 1909494 defendant Stokys John tailor 601813 601813 Stokys, John, of Upwell, Cams, tailor 2
3647131 1909494 1909494 defendant Wyggys Simon waterman 589270 589270 Wyggys, Simon, of Outwell, waterman 3
3647132 1909494 1909494 defendant Bosse Henry husbandman 591550 591550 Bosse, Henry, of Outwell, Cams, husbandman 4
3647133 1909494 1909494 defendant Elyet Robert husbandman 589270 589270 Elyet, Robert, of Outwell, husbandman 5

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.913ms