home / cp40x

names

6 rows where case_id = 2427409

✎ 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
5240415 2427409 2427409 plaintiff Johnson Richard     Johnson, Richard 0
5240416 2427409 2427409 defendant Thorp David yeoman 600833 600833 Thorp, David, of Elston, yeoman 0
5240417 2427409 2427409 defendant Durham Alice widow 586901 586901 Durham, Alice, of Nottingham, widow 1
5240418 2427409 2427409 defendant Baker Henry baker   Baker, Henry, baker 2
5240419 2427409 2427409 defendant Hypron John husbandman 603165 603165 Hypron, John, of Lyndeby, husbandman 3
5240420 2427409 2427409 defendant Bar- John butcher 649417 649417 Bar-, John, of Est Brygeford, butcher 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 14.204ms