home / cp40x

names

5 rows where case_id = 2104194

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4224944 2104194 2104194 plaintiff Carnsewe John gent   Carnsewe, John, gent 0
4224945 2104194 2104194 defendant Prouze John gent 624417 624417 Prouze, John, of Jacobstowe, gent 0
4224946 2104194 2104194 defendant Hollman Thomas laborer 624417 624417 Hollman, Thomas, of Jacobstowe, laborer 1
4224947 2104194 2104194 defendant Sheere Thomas laborer 624417 624417 Sheere, Thomas, of Jacobstowe, laborer 2
4224948 2104194 2104194 defendant Dingle Edward husbandman 655762 655762 Dingle, Edward, of Poundstock, husbandman 3

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 13.9ms