home / cp40x

names

6 rows where case_id = 2368685

✎ 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
5040257 2368685 2368685 plaintiff Brook Roger     Brook, Roger, on his own account 0
5040258 2368685 2368685 defendant Thetford alias Blome John clerk 838516 838516 Thetford alias Blome, John, of Croxston, Cambs, clerk 0
5040259 2368685 2368685 defendant Mykkylhill John, senior laborer 838517 838517 Mykkylhill, John, senior, of Alderford, Norf, laborer 1
5040260 2368685 2368685 defendant Marleburgh William clerk 838518 838518 Marleburgh, William, of Rokelond by Hengham, clerk 2
5040261 2368685 2368685 defendant Duke Thomas draper 586102 586102 Duke, Thomas, of Hengham, draper 3
5040262 2368685 2368685 defendant Berywey Thomas husbandman 824647 824647 Berywey, Thomas, of Bernham Broom, 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 16.8ms