home / cp40x

names

6 rows where case_id = 2314895

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4861275 2314895 2314895 plaintiff Coton Robert     Coton, Robert 0
4861276 2314895 2314895 defendant Wardyngton Richard vintner 585869 585869 Wardyngton, Richard, of London, vintner 0
4861277 2314895 2314895 defendant Russell William yeoman 667343 667343 Russell, William, of Badmondesfeld, Suff, yeoman 1
4861278 2314895 2314895 defendant Hochons Emma widow 586528 586528 Hochons, Emma, of Ware, Herts, widow 2
4861279 2314895 2314895 defendant Enderby John gent 670963 670963 Enderby, John, of Stretton, Beds, gent 3
4861280 2314895 2314895 defendant Chappe Richard esq 590479 590479 Chappe, Richard, of Southwerk, esq 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.295ms