home / cp40x

names

6 rows where case_id = 2429126

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5246454 2429126 2429126 plaintiff Saverey John ironmonger 585869 585869 Saverey, John, of London, ironmonger 0
5246455 2429126 2429126 defendant Reve William yeoman 702173 702173 Reve, William, of Colbrooke, Bucks, yeoman 0
5246456 2429126 2429126 defendant Blamond Stephen smith 627360 627360 Blamond, Stephen, of Havant, Hants, smith 1
5246457 2429126 2429126 defendant Ewyn Thomas Nhants, smith 623747 623747 Ewyn Thomas, of Sutton Regis, Nhants, smith 2
5246458 2429126 2429126 defendant Leeff John husbandman 863762 863762 Leeff, John, of Holmys, Slatton, Hunts, husbandman 3
5246459 2429126 2429126 defendant Leeff John chapman 817186 817186 Leeff, John, of Orewell, Cams, chapman 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 14.001ms