home / cp40x

names

7 rows where case_id = 2383214

✎ 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
5089208 2383214 2383214 plaintiff Lethelyon Lawrence goldsmith 585869 585869 Lethelyon, Lawrence, of London, goldsmith 0
5089209 2383214 2383214 defendant Bodrugan Henry gent 719529 719529 Bodrugan, Henry, of Bodrugan, Cornw, gent 0
5089210 2383214 2383214 defendant Tretherf Reginald esq 845066 845066 Tretherf, Reginald, of Tretherf, Cornw, esq 1
5089211 2383214 2383214 defendant Bampton John gent 624533 624533 Bampton, John, of Stratton, Cornw, gent 2
5089212 2383214 2383214 defendant Roucestre Richard gent 585974 585974 Roucestre, Richard, of Shaftesbury, Dorset, gent 3
5089213 2383214 2383214 defendant Colyn Oto esq 845067 845067 Colyn, Oto, of Hellondwartha, Cornw, esq 4
5089214 2383214 2383214 defendant Dotson John gent 845068 845068 Dotson, John, of Lasuthen, Cornw, gent 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 14.729ms