home / cp40x

names

6 rows where case_id = 1954367

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3788988 1954367 1954367 plaintiff Sturgeon John haberdasher 585869 585869 Sturgeon, John, of London, haberdasher 0
3788989 1954367 1954367 defendant Tyttew Roger smith 629559 629559 Tyttew, Roger, of Magna Totam, Essex, smith 0
3788990 1954367 1954367 defendant Gowleston Thomas smith 590534 590534 Gowleston, Thomas, of Billerica, Essex, smith 1
3788991 1954367 1954367 defendant Parker William woolman 586372 586372 Parker, William, of Billerica, woolman 2
3788992 1954367 1954367 defendant Trott John smith 616616 616616 Trott, John, of Quendon, Essex, smith 3
3788993 1954367 1954367 defendant Bucke John husbandman 629560 629560 Bucke, John, of Hugles, Essex, husbandman 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 17.625ms