home / cp40x

names

7 rows where case_id = 2005010

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3943992 2005010 2005010 plaintiff Bagshawe Nicholas (legal representative) 657352 657352 Bagshawe, Nicholas, of Farwell, gent, executors of 0
3943993 2005010 2005010 plaintiff Sutton Thomas esq, his son in law   (Sutton, Thomas, esq, his son in law 1
3943994 2005010 2005010 plaintiff Bagshawe Nicholas his son   Bagshawe, Nicholas, his son 2
3943995 2005010 2005010 plaintiff Sprott Edward his cousin   Sprott, Edward, his cousin 3
3943996 2005010 2005010 plaintiff Thyckyns Robert gent   Thyckyns, Robert, gent 4
3943997 2005010 2005010 defendant Acton Robert (legal representative) 657353 657353 Acton, Robert, of Rybbysforde, Worcs, knight, executor of 0
3943998 2005010 2005010 defendant Acton Charles esq 618946 618946 Acton, Charles, of Elmeley Lovet, Worcs, esq 1

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.402ms