home / cp40x

names

6 rows where case_id = 2392679

✎ 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
5121358 2392679 2392679 plaintiff Taylour William grocer 585869 585869 Taylour, William, of London, grocer 0
5121359 2392679 2392679 defendant Heyman Thomas clothmaker 643421 643421 Heyman, Thomas, of Shipton Malet, Soms, clothmaker 0
5121360 2392679 2392679 defendant Osbern John clothmaker 769499 769499 Osbern, John, of Frome in Selwode, Soms, clothmaker 1
5121361 2392679 2392679 defendant Howell Edward clothmaker 588305 588305 Howell, Edward, of Welles, Soms, clothmaker 2
5121362 2392679 2392679 defendant Frensshe John clothmaker 586748 586748 Frensshe, John, of Welles, clothmaker 3
5121363 2392679 2392679 defendant Hood William clothmaker 633845 633845 Hood, William, of Leomynstre, Herefs, clothmaker 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.527ms