home / cp40x

names

5 rows where case_id = 1938035

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3737769 1938035 1938035 plaintiff Lyster Richard gent   Lyster, Richard, gent 0
3737770 1938035 1938035 plaintiff Lyster Roger brewer   Lyster, Roger, brewer 1
3737771 1938035 1938035 defendant Warde Miles (legal representative) 609264 609264 Warde, Miles, of Staveley, Yorks, gent, executors of 0
3737772 1938035 1938035 defendant Burton John gent 620810 620810 (Burton, John, of Ryppon, Yorks, gent 1
3737773 1938035 1938035 defendant Warde Isabel gentlewoman 593579 593579 Warde, Isabel, of Staveley, gentlewoman 2

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