home / cp40x

names

6 rows where case_id = 1913214

✎ 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
3659445 1913214 1913214 plaintiff Goodwyn Robert     Goodwyn, Robert 0
3659446 1913214 1913214 defendant Spysall Robert yeoman 604018 604018 Spysall, Robert, of Colchester, Essex, yeoman 0
3659447 1913214 1913214 defendant Spellys Thomas carpenter 604837 604837 Spellys, Thomas, of Copdok, carpenter 1
3659448 1913214 1913214 defendant Peayn Robert laborer 604838 604838 Peayn, Robert, of Wested, laborer 2
3659449 1913214 1913214 defendant Hoxson John smith 591957 591957 Hoxson, John, of Helmyngham, smith 3
3659450 1913214 1913214 defendant Eley Edward yeoman 589150 589150 Eley, Edward, of Maldon, Essex, 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 6.462ms