home / cp40x

names

6 rows where case_id = 1922404

✎ 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
3687988 1922404 1922404 plaintiff Cope Robert     Cope, Robert 0
3687989 1922404 1922404 defendant Edwardys Edmund tucker 588600 588600 Edwardys, Edmund, of Westbury, tucker 0
3687990 1922404 1922404 defendant Busshop Thomas weaver 588600 588600 Busshop, Thomas, of Westbury, weaver 1
3687991 1922404 1922404 defendant Hyer Thomas tanner 588600 588600 Hyer, Thomas, of Westbury, tanner 2
3687992 1922404 1922404 defendant Facy Henry husbandman 588600 588600 Facy, Henry, of Westbury, husbandman 3
3687993 1922404 1922404 defendant Hoper Henry husbandman 588600 588600 Hoper, Henry, of Westbury, 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.532ms