home / cp40x

names

6 rows where case_id = 2369283

✎ 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
5042230 2369283 2369283 plaintiff Danby Thomas     Danby, Thomas 0
5042231 2369283 2369283 defendant Grene John carter 838838 838838 Grene, John, of Cramfeld, Bucks, carter 0
5042232 2369283 2369283 defendant Kyng John husbandman 838839 838839 Kyng, John, of Heyndon, Middx, husbandman 1
5042233 2369283 2369283 defendant Cornysshe John   586252 586252 Cornysshe, John, of Eggeware, Middx, sith 2
5042234 2369283 2369283 defendant Edward Richard husbandman 591372 591372 Edward, Richard, of Harowe on the Hill, Middx, husbandman 3
5042235 2369283 2369283 defendant Vyncent Thomas Middx, husbandman   Vyncent, Thomas, Middx, 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 15.168ms