home / cp40x

names

7 rows where case_id = 2354014

✎ 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
4990321 2354014 2354014 plaintiff Caton James tailor 585869 585869 Caton, James, of London, tailor 0
4990322 2354014 2354014 plaintiff Mundeford Adam     Mundeford, Adam 1
4990323 2354014 2354014 defendant Stokeman Edmunds clerk 590768 590768 Stokeman, Edmunds, of Northwold, Norf, clerk 0
4990324 2354014 2354014 defendant Caton John husbandman 785375 785375 Caton, John, of Oxeburgh, Norf, husbandman 1
4990325 2354014 2354014 defendant Stokeman John husbandman 595659 595659 Stokeman, John, of Methewold, Norf, husbandman 2
4990326 2354014 2354014 defendant Fraunsham John baker 780398 780398 Fraunsham, John, of Bishop's Lenn, Norf, baker 3
4990327 2354014 2354014 defendant Reynold John   603693 603693 Reynold, John, of Wodham Water, Essex 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 11.198ms