home / cp40x

names

6 rows where case_id = 1980182

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3869912 1980182 1980182 plaintiff Wheler alias Cowper Thomas     Wheler alias Cowper, Thomas 0
3869913 1980182 1980182 defendant Danyell William carpenter 586059 586059 Danyell, William, of Ware, carpenter 0
3869914 1980182 1980182 defendant Denys Richard miller 594426 594426 Denys, Richard, of Benyngton, miller 1
3869915 1980182 1980182 defendant Taylour James laborer 599653 599653 Taylour, James, of Buklond, laborer 2
3869916 1980182 1980182 defendant Dunne Thomas (legal representative)   Dunne, Thomas, administratrix of 3
3869917 1980182 1980182 defendant Dunne Isabel widow 589206 589206 Dunne, Isabel, of Buntyngford, widow 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 13.853ms