home / cp40x

names

8 rows where case_id = 2500202

✎ 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
5484197 2500202 2500202 plaintiff Martyn John mercer 585869 585869 Martyn, John, of London, mercer 0
5484198 2500202 2500202 defendant Swansey Richard esq 626047 626047 Swansey, Richard, of Yerdeley, Herts, esq 0
5484199 2500202 2500202 defendant Apyltofte John sherman 591385 591385 Apyltofte, John, of Peterborough, Nhants, sherman 1
5484200 2500202 2500202 defendant Way John gent 586036 586036 Way, John, of Exeter, gent 2
5484201 2500202 2500202 defendant Sutton Philip (legal representative) 595660 595660 Sutton, Philip, of Walpole, Norf, gent, executor of 3
5484202 2500202 2500202 defendant Sutton Thomas gent 590434 590434 Sutton, Thomas, of Gedney, Lincs, gent 4
5484203 2500202 2500202 defendant Galon James (legal representative) 585869 585869 Galon, James, of London, gent, executors of 5
5484204 2500202 2500202 defendant Leche William gent 589383 589383 (Leche, William, of Maydeston, Kent, gent 6

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.057ms