home / cp40x

names

7 rows where case_id = 2065551

✎ 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
4114708 2065551 2065551 plaintiff Triplett Digory     Triplett, Digory 0
4114709 2065551 2065551 plaintiff Wolffe William     Wolffe, William 1
4114710 2065551 2065551 defendant Mayne John gent 696481 696481 Mayne, John, of Worrington, Devon, gent 0
4114711 2065551 2065551 defendant Cougan Thomas husbandman 664976 664976 Cougan, Thomas, of St Gennys, husbandman 1
4114712 2065551 2065551 defendant Wheare Thomas husbandman 655762 655762 Wheare, Thomas, of Poundstock, husbandman 2
4114713 2065551 2065551 defendant Myll alias Arnoll John husbandman 696482 696482 Myll alias Arnoll, John, of Poundstocke, husbandman 3
4114714 2065551 2065551 defendant Nyccoll John husbandman 624417 624417 Nyccoll, John, of Jacobstowe, 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 13.435ms