home / cp40x

names

3 rows where case_id = 2409839

✎ 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
5179843 2409839 2409839 plaintiff Bolt William   755389 755389 Bolt, William, of Bishop's Lenn 0
5179844 2409839 2409839 defendant Haune Thomas husbandman 620605 620605 Haune, Thomas, of Yaxle, Hunts, husbandman 0
5179845 2409839 2409839 defendant Hareby Thomas yeoman 591022 591022 Hareby, Thomas, of Yaxle, yeoman 1

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 13.9ms