home / cp40x

names

6 rows where case_id = 2436696

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5271280 2436696 2436696 plaintiff Golan John     Golan, John 0
5271281 2436696 2436696 plaintiff Hitchecok William     Hitchecok, William 1
5271282 2436696 2436696 plaintiff Hitchecok Lawrence     Hitchecok, Lawrence 2
5271283 2436696 2436696 defendant atte Mille Richard gent 866773 866773 atte Mille, Richard, of A--, gent 0
5271284 2436696 2436696 defendant Stappe John husbandman 588653 588653 Stappe, John, of Pulburgh, husbandman 1
5271285 2436696 2436696 defendant Umfrey William husbandman 588653 588653 Umfrey, William, of Pulburgh, husbandman 2

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.395ms