home / cp40x

names

7 rows where case_id = 2276230

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4735440 2276230 2276230 plaintiff St Aubyn Geoffrey     St Aubyn, Geoffrey 0
4735441 2276230 2276230 defendant Hervy Richard husbandman 599869 599869 Hervy, Richard, of Lostwythyell, husbandman 0
4735442 2276230 2276230 defendant Powere John husbandman 793444 793444 Powere, John, of Roswyn, husbandman 1
4735443 2276230 2276230 defendant Hove John haulier 793445 793445 Hove, John, of Mechehell, haulier 2
4735444 2276230 2276230 defendant Penans John (legal representative) 793446 793446 Penans, John, of Cols_, executors of 3
4735445 2276230 2276230 defendant Marsely John husbandman 793447 793447 (Marsely, John, of Marghesyowe, husbandman 4
4735446 2276230 2276230 defendant Marsely Alice     Alice, his wife 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 10.124ms