home / cp40x

names

6 rows where place_id = 768966

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4553898 2217138 2217138 defendant Baxter Mathew chaplain 768966 768966 Baxter, Mathew, of Hacunby, chaplain 0
4584863 2226695 2226695 defendant Burton John   768966 768966 Burton, John, of Hacunby 0
4591925 2228827 2228827 defendant Hervy John   768966 768966 Hervy, John, of Hacunby 0
4639724 2243130 2243130 plaintiff Cristall John   768966 768966 Cristall, John, of Hacunby 0
5224952 2422970 2422970 defendant Smyth John yeoman 768966 768966 Smyth, John, of Hacunby, yeoman 0
5612855 2547780 2547780 defendant Custson Simon   768966 768966 Custson, Simon, of Hacunby 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 12.398ms