home / cp40x

names

7 rows where case_id = 1989342

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3897386 1989342 1989342 plaintiff Whyte Thomas (legal representative) 585925 585925 Whyte, Thomas, of Bristol, merchant, executrix of 0
3897387 1989342 1989342 plaintiff Whyte Christina widow   Whyte, Christina, widow 1
3897388 1989342 1989342 defendant Smyth Robert innholder or baker 647650 647650 Smyth, Robert, of Chyppenham, Wilts, innholder or baker 0
3897389 1989342 1989342 defendant Stanley Nicholas chapman 647651 647651 Stanley, Nicholas, of Awseter, Warw, chapman 1
3897390 1989342 1989342 defendant Parcivall Thomas merchant 594816 594816 Parcivall, Thomas, of Monmouth, merchant 2
3897391 1989342 1989342 defendant Parcivall John merchant 594816 594816 Parcivall, John, of Monmouth, merchant 3
3897392 1989342 1989342 defendant Style William clothier 606659 606659 Style, William, of Mellys, clothier 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.697ms