home / cp40x

names

6 rows where case_id = 2500659

✎ 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
5485837 2500659 2500659 plaintiff Rawson Richard (legal representative) 585869 585869 Rawson, Richard, of London, mercer, alderman, executors of 0
5485838 2500659 2500659 plaintiff Rauson Isabel     (Rauson, Isabel 1
5485839 2500659 2500659 plaintiff Lathell Nicholas gent   Lathell, Nicholas, gent 2
5485840 2500659 2500659 defendant Kyghley John gent 676249 676249 Kyghley, John, of Newall, Yorks, gent 0
5485841 2500659 2500659 defendant Middelton Richard gent 892297 892297 Middelton, Richard, of Stokeld, Yorks, gent 1
5485842 2500659 2500659 defendant Launder John clothman 595171 595171 Launder, John, of Strode Water, Glos, clothman 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 15.15ms