home / cp40x

names

7 rows where case_id = 2211228

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4534999 2211228 2211228 plaintiff Shepey John master & deacon of the church of the BM 586846 586846 Shepey, John, of Lincoln, master & deacon of the church of the BM 0
4535000 2211228 2211228 defendant Bate John (legal representative) 767066 767066 Bate, John, of Thwaytweyt, executors of 0
4535001 2211228 2211228 defendant Bate William   685531 685531 (Bate, William, of Chesterfield 1
4535002 2211228 2211228 defendant Thwaytweyt Nicholas de     Thwaytweyt, Nicholas de 2
4535003 2211228 2211228 defendant Cave John   586779 586779 Cave, John, of Brampton 3
4535004 2211228 2211228 defendant Bate Denise   767066 767066 Bate, Denise, of Thwaytweyt, formerly wife of John 4
4535005 2211228 2211228 defendant Bate John, sen     Bate, John, sen 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 13.77ms