home / cp40x

names

7 rows where case_id = 2391619

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5117723 2391619 2391619 plaintiff Prysot John     Prysot, John 0
5117724 2391619 2391619 plaintiff Haseley John     Haseley, John 1
5117725 2391619 2391619 defendant Holdernes John (legal representative) 592427 592427 Holdernes, John, of Kerbrook, gent, executors of 0
5117726 2391619 2391619 defendant Holdernes Margaret widow 848404 848404 (Holdernes, Margaret, of Kerbrook, Norf, widow 1
5117727 2391619 2391619 defendant Conyers Thomas esq 592427 592427 Conyers, Thomas, of Kerbrook, esq 2
5117728 2391619 2391619 defendant Grey William esq 654678 654678 Grey, William, of Merton, Norf, esq 3
5117729 2391619 2391619 defendant Rodeland Alexander chaplain 592427 592427 Rodeland, Alexander, of Kerbrook, chaplain 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 16.233ms