home / cp40x

names

5 rows where case_id = 1971047

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3841946 1971047 1971047 plaintiff Botomsale Stephen     Botomsale, Stephen 0
3841947 1971047 1971047 defendant Grey Thomas husbandman 590484 590484 Grey, Thomas, of Watton, husbandman 0
3841948 1971047 1971047 defendant Lyne Robert carpenter 588580 588580 Lyne, Robert, of West Walton, carpenter 1
3841949 1971047 1971047 defendant Pratte Thomas tailor 585936 585936 Pratte, Thomas, of Norwich, tailor 2
3841950 1971047 1971047 defendant Hunte Thomas scrivener 638331 638331 Hunte, Thomas, of Fosdyke, Lincs, scrivener 3

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.334ms