home / cp40x

names

6 rows where case_id = 2167051

✎ 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
4407448 2167051 2167051 plaintiff Smythe George     Smythe, George 0
4407449 2167051 2167051 defendant Docking William husbandman 603944 603944 Docking, William, of Dilham, husbandman 0
4407450 2167051 2167051 defendant Russell Oliver gent 662360 662360 Russell, Oliver, of Claye, gent 1
4407451 2167051 2167051 defendant Hunston Robert of Norwich, clerk   Hunston, Robert, ,of Norwich, clerk 2
4407452 2167051 2167051 defendant Rogers William   752467 752467 Rogers, William, of Lewestofte, Suff, goldsmith, administrators of 3
4407453 2167051 2167051 defendant Flattman John yeoman 752468 752468 (Flattman, John, of Strattbrooke, Suff, 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 16.176ms