home / cp40x

names

9 rows where case_id = 1872133

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3614293 1872133 1872133 plaintiff Bray Reginald knight   Bray, Reginald, knight 0
3614294 1872133 1872133 plaintiff Lovell Thomas knight   Lovell, Thomas, knight 1
3614295 1872133 1872133 plaintiff Hobart James     Hobart, James 2
3614296 1872133 1872133 plaintiff Dymmok Andrew     Dymmok, Andrew 3
3614297 1872133 1872133 defendant Penyngton Adam gent 585995 585995 Penyngton, Adam, of Neweton, Cumber, gent 0
3614298 1872133 1872133 defendant Penyngton William gent 594035 594035 Penyngton, William, of Honnesdon, Herts, gent 1
3614299 1872133 1872133 defendant Penyngton Adam gent 594036 594036 Penyngton, Adam, of Skanesby, Lincs, gent 2
3614300 1872133 1872133 defendant Nytingale William draper 585869 585869 Nytingale, William, of London, draper 3
3614301 1872133 1872133 defendant Joy Peter draper 585869 585869 Joy, Peter, of London, draper 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 14.834ms