home / cp40x

names

5 rows where case_id = 2050663

✎ 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
4073069 2050663 2050663 plaintiff Penyngton Robert fishmonger 585869 585869 Penyngton, Robert, of London, fishmonger 0
4073070 2050663 2050663 defendant Thompson John chapman 609578 609578 Thompson, John, of Gylford, Surrey, chapman 0
4073071 2050663 2050663 defendant Allyn William chapman 586470 586470 Allyn, William, of Colchester, chapman 1
4073072 2050663 2050663 defendant Countays John tailor 687867 687867 Countays, John, of Yoxford, Suff, tailor 2
4073073 2050663 2050663 defendant Weston Thomas chapman 586175 586175 Weston, Thomas, of Canterbury, chapman 3

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 15.359ms