home / cp40x

names

6 rows where case_id = 1865706

✎ 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
3593813 1865706 1865706 plaintiff Hotte Thomas   588239 588239 Hotte, Thomas, of Yelverton 0
3593814 1865706 1865706 defendant Colbold William butcher 586810 586810 Colbold, William, of Lowystoft, Suff, butcher 0
3593815 1865706 1865706 defendant Wyrmegay Stephen yeoman 586965 586965 Wyrmegay, Stephen, of Hekyngham, yeoman 1
3593816 1865706 1865706 defendant Salter Robert butcher 585936 585936 Salter, Robert, of Norwich, butcher 2
3593817 1865706 1865706 defendant Botyld Thomas husbandman 588240 588240 Botyld, Thomas, of Waketon, husbandman 3
3593818 1865706 1865706 defendant Feyth John husbandman 588241 588241 Feyth, John, of Pakefeld, Suff, 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 15.487ms