home / cp40x

names

6 rows where case_id = 2427924

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5242211 2427924 2427924 plaintiff Martyn Thomas (legal representative) 596220 596220 Martyn, Thomas, of Ely, executors of 0
5242212 2427924 2427924 plaintiff Martyn John     (Martyn, John 1
5242213 2427924 2427924 plaintiff Palmer Thomas baker 596220 596220 Palmer, Thomas, of Ely, baker 2
5242214 2427924 2427924 defendant Pygot Simon merchant 585907 585907 Pygot, Simon, of Bishops Lenn, merchant 0
5242215 2427924 2427924 defendant Eyre Henry   632234 632234 Eyre, Henry, of Eryth, Hunts, pike monger 1
5242216 2427924 2427924 defendant Leche Thomkas husbandman 589269 589269 Leche, Thomkas, of Upwell, Norf, husbandman 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.234ms