home / cp40x

names

7 rows where case_id = 2128797

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4296359 2128797 2128797 plaintiff Houghton Peter esq   Houghton, Peter, esq 0
4296360 2128797 2128797 defendant Wygmore Thomas esq 585869 585869 Wygmore, Thomas, of London, or of Shobdon, Herefs, esq 0
4296361 2128797 2128797 defendant Hyett Richard esq 731840 731840 Hyett, Richard, of Sarnesfield Barmewch, Herefs, esq 1
4296362 2128797 2128797 defendant Pateshall William (legal representative) 744796 744796 Pateshall, William, of Pyddleston, esq, executors of 2
4296363 2128797 2128797 defendant Welshe Hugh gent 653684 653684 (Welshe, Hugh, of Shobdon, gent 3
4296364 2128797 2128797 defendant Whyttington Richard gent 668066 668066 Whyttington, Richard, of Home Lacye, gent 4
4296365 2128797 2128797 defendant Garnons James gent 653684 653684 Garnons, James, of Shobdon, gent 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 13.476ms