home / cp40x

names

7 rows where case_id = 2527659

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5576355 2527659 2527659 plaintiff Thomas John mercer 585869 585869 Thomas, John, of London, mercer 0
5576356 2527659 2527659 defendant Dawson Thomas mercer 586067 586067 Dawson, Thomas, of York, mercer 0
5576357 2527659 2527659 defendant Cowper John chapman 901941 901941 Cowper, John, of Torowbrigge, Wilts, chapman 1
5576358 2527659 2527659 defendant Coffyn John clothman 589669 589669 Coffyn, John, of Bathe, Soms, clothman 2
5576359 2527659 2527659 defendant Baret Robert mercer 586180 586180 Baret, Robert, of Bury St Edmunds, mercer 3
5576360 2527659 2527659 defendant Elwold John (legal representative) 586067 586067 Elwold, John, of York, alderman, executors of 4
5576361 2527659 2527659 defendant Clyfford Edward mercer 586067 586067 (Clyfford, Edward, of York, mercer 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 24.928ms