home / cp40x

names

8 rows where case_id = 1917374

✎ 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
3672411 1917374 1917374 plaintiff Cutte John sub-treasurer   Cutte, John, sub-treasurer 0
3672412 1917374 1917374 defendant Gascoign Henry esq 608155 608155 Gascoign, Henry, of Mykelfeld, Yorks, esq 0
3672413 1917374 1917374 defendant Gascoign Thomas esq 608156 608156 Gascoign, Thomas, of Graveley, Herts, esq 1
3672414 1917374 1917374 defendant Fawkes Henry yeoman 586067 586067 Fawkes, Henry, of York, yeoman 2
3672415 1917374 1917374 defendant Porthay William gent 608157 608157 Porthay, William, of Ryton, Yorks, gent 3
3672416 1917374 1917374 defendant Bolling Constantine gent 608158 608158 Bolling, Constantine, of Calverley, Yorks, gent 4
3672417 1917374 1917374 defendant Warde John esq 608159 608159 Warde, John, of North Dyghton, Yorks, esq 5
3672418 1917374 1917374 defendant Hawkesworth Thomas esq 608160 608160 Hawkesworth, Thomas, of Hawkesworth, Yorks, esq 6

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 14.933ms