home / cp40x

names

8 rows where case_id = 2420556

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5216503 2420556 2420556 plaintiff de Salkeld Hugh (legal representative)   de Salkeld, Hugh, executor of 0
5216504 2420556 2420556 plaintiff Baty Thomas     Baty, Thomas 1
5216505 2420556 2420556 defendant Salkeld Hugh (legal representative) 860318 860318 Salkeld, Hugh, of Rosegyll, esq, executors of 0
5216506 2420556 2420556 defendant Salkeld William esq 839748 839748 (Salkeld, William, of Roskyll, esq 1
5216507 2420556 2420556 defendant Salkeld Thomas esq 807676 807676 Salkeld, Thomas, of Shap, esq 2
5216508 2420556 2420556 defendant Rosegyll John gent 860319 860319 Rosegyll, John, of Birtby, Cartmall, Lancs, gent 3
5216509 2420556 2420556 defendant Colman John husbandman 595506 595506 Colman, John, of Magna Salkeld, Cumber, husbandman 4
5216510 2420556 2420556 defendant Thomson John husbandman 778234 778234 Thomson, John, of Parva Salkeld, Cumber, husbandman 5

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.182ms