home / cp40x

names

6 rows where case_id = 2360503

✎ 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
5012503 2360503 2360503 plaintiff York   in   York, master of the hospital of St Leonard, in 0
5012504 2360503 2360503 defendant Craven William husbandman 773525 773525 Craven, William, of Hamsthwayt, husbandman 0
5012505 2360503 2360503 defendant Bullyng John husbandman 714003 714003 Bullyng, John, of Pannall, husbandman 1
5012506 2360503 2360503 defendant Morvell Richard yeoman 835008 835008 Morvell, Richard, of Wodhawe, yeoman 2
5012507 2360503 2360503 defendant Bekwyth Richard yeoman 792497 792497 Bekwyth, Richard, of Ayketon, yeoman 3
5012508 2360503 2360503 defendant Fex Robert husbandman 835009 835009 Fex, Robert, of Rypax, husbandman 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 15.052ms