home / cp40x

names

8 rows where case_id = 2003994

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3940990 2003994 2003994 plaintiff Tasshe William (legal representative) 643256 643256 Tasshe, William, of Whaplode, Lincs, yeoman, executors of 0
3940991 2003994 2003994 plaintiff Ogle Richard esq 589412 589412 (Ogle, Richard, of Pynchebek, esq 1
3940992 2003994 2003994 plaintiff Welby Thomas gent 588071 588071 Welby, Thomas, of Multon, gent 2
3940993 2003994 2003994 defendant Dethe Henry yeoman 646802 646802 Dethe, Henry, of Gosberkyrke, Lincs, yeoman 0
3940994 2003994 2003994 defendant Sowter William husbandman 603017 603017 Sowter, William, of Flete, Lincs, husbandman 1
3940995 2003994 2003994 defendant Grome Robert husbandman 586038 586038 Grome, Robert, of Whaplod, Lincs, husbandman 2
3940996 2003994 2003994 defendant Mosse Richard husbandman 590550 590550 Mosse, Richard, of Multon, Lincs, husbandman 3
3940997 2003994 2003994 defendant Moyne Thomas fisher 586039 586039 Moyne, Thomas, of Whaplod, fisher 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 15.172ms