home / cp40x

names

6 rows where case_id = 2525074

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5567524 2525074 2525074 plaintiff Doget Edmund gent   Doget, Edmund, gent 0
5567525 2525074 2525074 defendant Toly Thomas butcher 617789 617789 Toly, Thomas, of Arleham, butcher 0
5567526 2525074 2525074 defendant Leek Robert clerk 588406 588406 Leek, Robert, of Colton, clerk 1
5567527 2525074 2525074 defendant Seler Henry (legal representative) 586386 586386 Seler, Henry, of Weston, executors of 2
5567528 2525074 2525074 defendant Prekyll Thomas husbandman 586386 586386 (Prekyll, Thomas, of Weston, husbandman 3
5567529 2525074 2525074 defendant Frary John husbandman 586399 586399 Frary, John, of Magna Wychyngham, 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 13.736ms