home / cp40x

names

6 rows where case_id = 1965450

✎ 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
3824204 1965450 1965450 plaintiff Waren Ralph alderman and mercer 585869 585869 Waren, Ralph, of London, alderman and mercer 0
3824205 1965450 1965450 defendant Constable John   635241 635241 Constable, John, of Burton Constable, Yorks, knight 0
3824206 1965450 1965450 defendant Baynard Robert gent 635242 635242 Baynard, Robert, of Latam, Wilts, gent 1
3824207 1965450 1965450 defendant Clacy John gent 599987 599987 Clacy, John, of Whethampsted, Herts, gent 2
3824208 1965450 1965450 defendant Sapcottys Richard esq 612329 612329 Sapcottys, Richard, of Aylton, Hunts, esq 3
3824209 1965450 1965450 defendant Hotham Robert gent 635243 635243 Hotham, Robert, of Eton juxta Sheriburton, Yorks, gent 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.401ms