home / cp40x

names

6 rows where case_id = 2319826

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4877191 2319826 2319826 plaintiff (not given)   master of St Leonard Hospital, York   St Leonard Hospital, York, master of 0
4877192 2319826 2319826 defendant Milford Robert husbandman 816170 816170 Milford, Robert, of Brokhous, husbandman 0
4877193 2319826 2319826 defendant Ostiller Thomas husbandman 816170 816170 Ostiller, Thomas, of Brokhous, husbandman 1
4877194 2319826 2319826 defendant Mason William husbandman 816171 816171 Mason, William, of Sladhoton, husbandman 2
4877195 2319826 2319826 defendant Hauke or Hanke Richard husbandman 816171 816171 Hauke or Hanke, Richard, of Sladhoton, husbandman 3
4877196 2319826 2319826 defendant del Wod Edmund husbandman 816148 816148 del Wod, Edmund, of Kerre, 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 17.187ms