home / cp40x

names

6 rows where case_id = 2302865

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4821712 2302865 2302865 plaintiff Salinere John merchant 807683 807683 Salinere, John, of Dionanto or Dinant, in Alamaine or Germany, merchant 0
4821713 2302865 2302865 defendant Treamboll Nicholas merchant 807684 807684 Treamboll, Nicholas, of Treamboll, Cornw, merchant 0
4821714 2302865 2302865 defendant Bryd Richard pewterer 781524 781524 Bryd, Richard, of Coventry, Warws, pewterer 1
4821715 2302865 2302865 defendant Walsale Andrew   807685 807685 Walsale, Andrew, of Litchefeld, Staffs, brass worker 2
4821716 2302865 2302865 defendant Stretton Ralph merchant 807686 807686 Stretton, Ralph, of Litchefeld, merchant 3
4821717 2302865 2302865 defendant Reynold John   604018 604018 Reynold, John, of Colchester, Essex, brass worker 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.768ms