home / cp40x

names

6 rows where case_id = 2270190

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4715534 2270190 2270190 plaintiff (not given)   abbot of Warden   Warden, abbot of 0
4715535 2270190 2270190 defendant Eston Thomas gent 588420 588420 Eston, Thomas, of Holme, gent 0
4715536 2270190 2270190 defendant Bere John miller 789840 789840 Bere, John, of Heygham Ferers, Nhants, miller 1
4715537 2270190 2270190 defendant Eversdon John carpenter 789841 789841 Eversdon, John, of Ekelford, Herts, carpenter 2
4715538 2270190 2270190 defendant Stokker John husbandman 789842 789842 Stokker, John, of Rokesdon, husbandman 3
4715539 2270190 2270190 defendant Gylys Robert yeoman 789843 789843 Gylys, Robert, of Maungre, Hunts, yeoman 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 15.661ms