home / cp40x

names

7 rows where case_id = 1873476

✎ 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
3618713 1873476 1873476 plaintiff Haystyngys Robert esq   Haystyngys, Robert, esq 0
3618714 1873476 1873476 defendant Seriant Thomas yeoman 595060 595060 Seriant, Thomas, of Hotoft, Yorks, yeoman 0
3618715 1873476 1873476 defendant Gylto Thomas husbandman 595061 595061 Gylto, Thomas, of Billyngford juxta Baldeswell, husbandman 1
3618716 1873476 1873476 defendant Langton William chancellor of York Cathedral   Langton, William, chancellor of York Cathedral, executors of 2
3618717 1873476 1873476 defendant Anderton John gent 595062 595062 (Anderton, John, of Wygyn, Lancs, gent 3
3618718 1873476 1873476 defendant Langton Edmund gent 595063 595063 Langton, Edmund, of Wygyn, gent 4
3618719 1873476 1873476 defendant Pynchebek William chaplain 586067 586067 Pynchebek, William, of York, chaplain 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 14.84ms