home / cp40x

names

7 rows where case_id = 2152778

✎ 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
4365678 2152778 2152778 plaintiff Fletcher Lancelot (legal representative)   Fletcher, Lancelot, executor of 0
4365679 2152778 2152778 plaintiff Fletcher George     Fletcher, George 1
4365680 2152778 2152778 defendant Stawker John yeoman 745286 745286 Stawker, John, of Caldbeck, yeoman 0
4365681 2152778 2152778 defendant Eglesfeild William (legal representative) 745287 745287 Eglesfeild, William, of Allonbye, executors of 1
4365682 2152778 2152778 defendant Thwaites John gent 745288 745288 (Thwaites, John, of Allonbie, gent 2
4365683 2152778 2152778 defendant Ratcliffe Gawin (legal representative) 670170 670170 Ratcliffe, Gawin, of Keswick, gent, executrix of 3
4365684 2152778 2152778 defendant Ratcliffe Winifred widow 670170 670170 Ratcliffe, Winifred, of Keswick, widow 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 7.489ms