home / cp40x

names

5 rows where case_id = 2488189

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5444256 2488189 2488189 plaintiff Cook John   595716 595716 Cook, John, of Neylond, Suff 0
5444257 2488189 2488189 defendant Erundon Richard merchant 888175 888175 Erundon, Richard, of Lourdon, merchant 0
5444258 2488189 2488189 defendant Cook Thomas   699208 699208 Cook, Thomas, of Antyngham St Margaret 1
5444259 2488189 2488189 defendant Reede John   888176 888176 Reede, John, of Ste_ 2
5444260 2488189 2488189 defendant Chaumbyr Stephen husbandman 587058 587058 Chaumbyr, Stephen, of Sutton, husbandman 3

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 8.764ms