home / cp40x

names

6 rows where case_id = 2021586

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3991124 2021586 2021586 plaintiff Bowes George   657696 657696 Bowes, George, of Streytlam, Durham, knight 0
3991125 2021586 2021586 defendant Brakenbury Henry esq 668937 668937 Brakenbury, Henry, of Sellabye, Durham, esq 0
3991126 2021586 2021586 defendant Tankarde William esq 668938 668938 Tankarde, William, of Boroughbrige, Yorks, esq 1
3991127 2021586 2021586 defendant Slyngesby Peter (legal representative) 668939 668939 Slyngesby, Peter, of Bylton Parke, Yorks, gent, executors of 2
3991128 2021586 2021586 defendant Slyngesby Francis esq 625926 625926 (Slyngesby, Francis, of Scryven, Yorks, esq 3
3991129 2021586 2021586 defendant Tankard Thomas gent 668940 668940 Tankard, Thomas, of Boroughbrige, gent 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.518ms