home / cp40x

names

6 rows where case_id = 1973660

✎ 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
3850218 1973660 1973660 plaintiff Menes Robert     Menes, Robert 0
3850219 1973660 1973660 defendant Menes William miller 613727 613727 Menes, William, of Denver, miller 0
3850220 1973660 1973660 defendant Sympson Thomas husbandman 639657 639657 Sympson, Thomas, of Crympylham, husbandman 1
3850221 1973660 1973660 defendant Bache William husbandman 639658 639658 Bache, William, of Fulmerston, husbandman 2
3850222 1973660 1973660 defendant Cokys Richard   623122 623122 Cokys, Richard, of Snoryng Parva, "puver" 3
3850223 1973660 1973660 defendant Doraunt Robert husbandman 633090 633090 Doraunt, Robert, of Swanton Novers, 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 16.915ms