home / cp40x

names

6 rows where case_id = 1948307

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3770081 1948307 1948307 plaintiff Scarnyng Richard     Scarnyng, Richard 0
3770082 1948307 1948307 defendant Zouch William esq 590569 590569 Zouch, William, of Bulwyk, Nhants, esq 0
3770083 1948307 1948307 defendant Crips of Castell Eton Wilts, husbandman   Crips, of Castell Eton, Wilts, husbandman 1
3770084 1948307 1948307 defendant Prior Richard husbandman 626427 626427 Prior, Richard, of Castell Eton, Wilts, husbandman 2
3770085 1948307 1948307 defendant Schatter John husbandman 626428 626428 Schatter, John, of Hampton Meysy, husbandman 3
3770086 1948307 1948307 defendant Blythe Richard husbandman 626428 626428 Blythe, Richard, of Hampton Meysy, 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 16.867ms