home / cp40x

names

6 rows where case_id = 1998814

✎ 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
3925412 1998814 1998814 plaintiff Whytston Robert haberdasher 585869 585869 Whytston, Robert, of London, haberdasher 0
3925413 1998814 1998814 defendant Browne Richard merchant 587052 587052 Browne, Richard, of Beverley, Yorks, merchant 0
3925414 1998814 1998814 defendant Denton Amory mercer 586731 586731 Denton, Amory, of Wakefeld, Yorks, mercer 1
3925415 1998814 1998814 defendant Blodwell Richard   652762 652762 Blodwell, Richard, of Osestre, Salop 2
3925416 1998814 1998814 defendant Kyffyn Thomas yeoman 652763 652763 Kyffyn, Thomas, of Osestre, yeoman 3
3925417 1998814 1998814 defendant Leverett Henry mercer 586963 586963 Leverett, Henry, of Grantham, Lincs, mercer 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 17.71ms