home / cp40x

names

6 rows where case_id = 2447250

✎ 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
5307477 2447250 2447250 plaintiff Philip John tailor 585869 585869 Philip, John, of London, tailor 0
5307478 2447250 2447250 defendant Burgh Thomas   585869 585869 Burgh, Thomas, of London, knight 0
5307479 2447250 2447250 defendant Colvyle Robert esq 809218 809218 Colvyle, Robert, of Hayton, Cumberland, esq 1
5307480 2447250 2447250 defendant Lewekener Walter gent 594470 594470 Lewekener, Walter, of Suthwerk, Surrey, gent 2
5307481 2447250 2447250 defendant Burton Robert esq 817138 817138 Burton, Robert, of Lambehithe, Surrey, esq 3
5307482 2447250 2447250 defendant Stokdale John yeoman 871437 871437 Stokdale, John, of Rascall, Yorks, 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.081ms