home / cp40x

names

7 rows where case_id = 2354013

✎ 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
4990314 2354013 2354013 plaintiff Caton Hames tailor 585869 585869 Caton, Hames, of London, tailor 0
4990315 2354013 2354013 plaintiff Mundeford Adam     Mundeford, Adam 1
4990316 2354013 2354013 defendant Stokeman Edmund clerk 590769 590769 Stokeman, Edmund, of Northweld, Norf, clerk 0
4990317 2354013 2354013 defendant Caton John husbandman 785375 785375 Caton, John, of Oxeburgh, Norf, husbandman 1
4990318 2354013 2354013 defendant Stokeman John husbandman 595659 595659 Stokeman, John, of Methewold, Norf, husbandman 2
4990319 2354013 2354013 defendant Fraunsham John baker 780398 780398 Fraunsham, John, of Bishop's Lenn, Norf, baker 3
4990320 2354013 2354013 defendant Reynold John yeoman 603693 603693 Reynold, John, of Wodham Water, Essex, yeoman 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 13.968ms