home / cp40x

names

6 rows where case_id = 1871657

✎ 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
3612811 1871657 1871657 plaintiff Ade Henry     Ade, Henry 0
3612812 1871657 1871657 defendant Porter Richard dyer 589150 589150 Porter, Richard, of Maldon, Essex, dyer 0
3612813 1871657 1871657 defendant Halman John vintner 585869 585869 Halman, John, of London, vintner 1
3612814 1871657 1871657 defendant Cook William of Long Melford Suff, clothman   Cook, William of Long Melford, Suff, clothman 2
3612815 1871657 1871657 defendant Fleccher Richard draper 586697 586697 Fleccher, Richard, of Shrewsbury, draper 3
3612816 1871657 1871657 defendant Flete Hugh baker 590039 590039 Flete, Hugh, of Huntyngdon, baker 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.465ms