home / cp40x

names

6 rows where case_id = 2446219

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5304057 2446219 2446219 plaintiff Herward Robert esq   Herward, Robert, esq 0
5304058 2446219 2446219 defendant Worme John husbandman 870941 870941 Worme, John, of Anytngham, husbandman 0
5304059 2446219 2446219 defendant Aleyn William baker 588126 588126 Aleyn, William, of North Walsham, baker 1
5304060 2446219 2446219 defendant Miller Henry   602141 602141 Miller, Henry, of Banyngham, mason 2
5304061 2446219 2446219 defendant Stokeley William husbandman 595097 595097 Stokeley, William, of Holt Market, husbandman 3
5304062 2446219 2446219 defendant West William husbandman 595097 595097 West, William, of Holt Market, husbandman 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.752ms