home / cp40x

names

6 rows where case_id = 1980016

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3869425 1980016 1980016 plaintiff Waller John attorney   Waller, John, attorney 0
3869426 1980016 1980016 defendant Thurston John gent 600646 600646 Thurston, John, of Rendham, Suff, gent 0
3869427 1980016 1980016 defendant Rowse Adam gent 642690 642690 Rowse, Adam, of Brundysshe, Suff, gent 1
3869428 1980016 1980016 defendant Bohun Nicholas gent 591907 591907 Bohun, Nicholas, of Westhale, Suff, gent 2
3869429 1980016 1980016 defendant Harvy Robert yeoman 642691 642691 Harvy, Robert, of Strodbroke, Suff, yeoman 3
3869430 1980016 1980016 defendant Glemham John   586533 586533 Glemham, John, of Parva Glemham, Suff, knight 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 12.883ms