home / cp40x

names

6 rows where case_id = 2410946

✎ 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
5183627 2410946 2410946 plaintiff Dalton Richard     Dalton, Richard 0
5183628 2410946 2410946 defendant Smyth John (legal representative)   Smyth, John, executrix of 0
5183629 2410946 2410946 defendant Smyth Katherine widow & formerly wife of John Smyth, of Fowy   (Smyth, Katherine, widow & formerly wife of John Smyth, of Fowy, executors of 1
5183630 2410946 2410946 defendant Wyghton John gent 594161 594161 (Wyghton, John, of Fryton, gent 2
5183631 2410946 2410946 defendant Countre John merchant 586165 586165 Countre, John, of Fowy, merchant 3
5183632 2410946 2410946 defendant Holland Thomas and Joan, his wife, co-   together with Holland, Thomas, and Joan, his wife, co-executrix of Katherine 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.735ms