home / cp40x

names

6 rows where case_id = 1969588

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3837337 1969588 1969588 plaintiff Smyth Nicholas     Smyth, Nicholas 0
3837338 1969588 1969588 defendant Fox William painter 588968 588968 Fox, William, of Blythburgh, painter 0
3837339 1969588 1969588 defendant Coo John husbandman 589837 589837 Coo, John, of Yoxford, husbandman 1
3837340 1969588 1969588 defendant Fale Thomas husbandman 587187 587187 Fale, Thomas, of Laxfeld, husbandman 2
3837341 1969588 1969588 defendant Hynde Hugh husbandman 637571 637571 Hynde, Hugh, of Halsworthe, husbandman 3
3837342 1969588 1969588 defendant Jamys Robert husbandman 603408 603408 Jamys, Robert, of Halsworth, 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 17.029ms