home / cp40x

names

6 rows where case_id = 1872165

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3614436 1872165 1872165 plaintiff Brokton Thomas     Brokton, Thomas 0
3614437 1872165 1872165 defendant Vavasour John gent 594068 594068 Vavasour, John, of Kyrkeby Wharffe, Yorks, gent 0
3614438 1872165 1872165 defendant Jurdan Humphrey yeoman 587079 587079 Jurdan, Humphrey, of Norbury, Staffs, yeoman 1
3614439 1872165 1872165 defendant Payn John chaplain 594069 594069 Payn, John, of Streton in le Sterete, Leics, chaplain 2
3614440 1872165 1872165 defendant Hardewyk John gent 594070 594070 Hardewyk, John, of Lynlay, Leics, gent 3
3614441 1872165 1872165 defendant Swan William gent 585869 585869 Swan, William, of London, gent 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 5.683ms