home / cp40x

names

7 rows where case_id = 2518057

✎ 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
5543404 2518057 2518057 plaintiff Patonson Patrick     Patonson, Patrick 0
5543405 2518057 2518057 defendant Radclyff Edward esq 590579 590579 Radclyff, Edward, of Warkworth, Northumb, esq 0
5543406 2518057 2518057 defendant Middylton John   898293 898293 Middylton, John, of Belsawe, Northumb, knight 1
5543407 2518057 2518057 defendant Percy George esq   Percy, George, esq, executrix of 2
5543408 2518057 2518057 defendant Ogle Eleanor widow 898294 898294 Ogle, Eleanor, of Neweborn, Northumb, widow 3
5543409 2518057 2518057 defendant Delavale John esq   Delavale, John, esq, executrix of 4
5543410 2518057 2518057 defendant Delavale Anne widow 634293 634293 Delavale, Anne, of Seton Delavale, Northumb, widow 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 6.116ms