home / cp40x

names

9 rows where case_id = 1865852

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3594298 1865852 1865852 plaintiff Kele Robert     Kele, Robert 0
3594299 1865852 1865852 defendant Thorn John merchant 586030 586030 Thorn, John, of Kyngeston on Hull, merchant 0
3594300 1865852 1865852 defendant Warner Thomas merchant 586030 586030 Warner, Thomas, of Kyngeston on Hull, merchant 1
3594301 1865852 1865852 defendant Knaysburgh Richard gent 588378 588378 Knaysburgh, Richard, of Walkyngham, Yorks, gent 2
3594302 1865852 1865852 defendant Grenelefe John laborer 588379 588379 Grenelefe, John, of Topclyf, Yorks, laborer 3
3594303 1865852 1865852 defendant Grene Henry husbandman 588380 588380 Grene, Henry, of Foulestowe, husbandman 4
3594304 1865852 1865852 defendant Cleseby Thomas husbandman 590061 590061 Cleseby, Thomas, of Barton on Humber, husbandman 5
3594305 1865852 1865852 defendant Robson Robert tailor 586836 586836 Robson, Robert, of Newcastle on Tyne, tailor 6
3594306 1865852 1865852 defendant Robson William yeoman 586836 586836 Robson, William, of Newcastle on Tyne, yeoman 7

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