home / cp40x

names

6 rows where case_id = 1872437

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3615322 1872437 1872437 plaintiff Chittok John gent 585869 585869 Chittok, John, of London, gent 0
3615323 1872437 1872437 defendant Jakson William merchant 586067 586067 Jakson, William, of York, merchant 0
3615324 1872437 1872437 defendant Felton Thomas merchant 586030 586030 Felton, Thomas, of Kyngeston on Hull, merchant 1
3615325 1872437 1872437 defendant Narker Joan widow 594259 594259 Narker, Joan, of Stoke, Suff, widow 2
3615326 1872437 1872437 defendant Isotte Richard innholder 586901 586901 Isotte, Richard, of Nottingham, innholder 3
3615327 1872437 1872437 defendant Bawede John innholder 594260 594260 Bawede, John, of Wulpyt, Suff, innholder 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 16.655ms