home / cp40x

names

6 rows where case_id = 1968959

✎ 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
3835232 1968959 1968959 plaintiff Penne John     Penne, John 0
3835233 1968959 1968959 defendant Bullyng Tibota widow 637232 637232 Bullyng, Tibota, of Dedyngton, Oxon, widow 0
3835234 1968959 1968959 defendant Halyday Richard tucker 621455 621455 Halyday, Richard, of Redborowe, tucker 1
3835235 1968959 1968959 defendant Husshe Thomas laborer 586645 586645 Husshe, Thomas, of Mynty, laborer 2
3835236 1968959 1968959 defendant Dolman Thomas laborer 586645 586645 Dolman, Thomas, of Mynty, laborer 3
3835237 1968959 1968959 defendant Munden John husbandman 586645 586645 Munden, John, of Mynty, husbandman 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 15.086ms