home / cp40x

names

7 rows where case_id = 2493226

✎ 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
5460951 2493226 2493226 plaintiff Manwell Agnes (legal representative)   Manwell, Agnes, executrix of Richard Manwell, of York, baker, executor of 0
5460952 2493226 2493226 plaintiff Hancok William   586067 586067 Hancok, William, of York 1
5460953 2493226 2493226 defendant Hall Robert husbandman 889986 889986 Hall, Robert, of Bisshop Wylton, husbandman 0
5460954 2493226 2493226 defendant Aunger John yeoman 600857 600857 Aunger, John, of Birdsall, yeoman 1
5460955 2493226 2493226 defendant Ingram Brian chaplain 889987 889987 Ingram, Brian, of Grymston on the Wold, chaplain 2
5460956 2493226 2493226 defendant Basse Robert husbandman 622646 622646 Basse, Robert, of North Dalton, husbandman 3
5460957 2493226 2493226 defendant Richardson Robert husbandman 702728 702728 Richardson, Robert, of Kirkham, 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 14.261ms