home / cp40x

names

8 rows where case_id = 1998757

✎ 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
3925249 1998757 1998757 plaintiff West John (legal representative)   West, John, executor of 0
3925250 1998757 1998757 plaintiff Scales William     Scales, William 1
3925251 1998757 1998757 defendant Gownell John (legal representative)   Gownell, John, executors of 0
3925252 1998757 1998757 defendant Gownell Thomas husbandman 645077 645077 (Gownell, Thomas, of North Somercote, husbandman 1
3925253 1998757 1998757 defendant Gownell John husbandman 645077 645077 Gownell, John, of North Somercote, husbandman 2
3925254 1998757 1998757 defendant Bolan Robert (legal representative)   Bolan, Robert, executors of 3
3925255 1998757 1998757 defendant FitzWilliam Thomas yeoman 596792 596792 (FitzWilliam, Thomas, of Horncastell, yeoman 4
3925256 1998757 1998757 defendant Bolan Katherine widow 639090 639090 Bolan, Katherine, of Skydbroke, widow 5

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