home / cp40x

names

6 rows where case_id = 2446339

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5304494 2446339 2446339 plaintiff Hosst Richard mercer 585936 585936 Hosst, Richard, of Norwich, mercer 0
5304495 2446339 2446339 plaintiff Coteler Edward Alderman & cutler 585936 585936 (Coteler, Edward, of Norwich, Alderman & cutler 1
5304496 2446339 2446339 plaintiff Halles William chaplain   Halles, William, chaplain 2
5304497 2446339 2446339 plaintiff Halles Helen formerly wife of Richard Hosst   Helen, his wife, formerly wife of Richard Hosst 3
5304498 2446339 2446339 defendant Stokenham Cuthbert merchant 653005 653005 Stokenham, Cuthbert, of Ipswich, Suffolk, merchant 0
5304499 2446339 2446339 defendant P_ John chaplain 596238 596238 P_, John, of Suffolk, chaplain 1

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