home / cp40x

names

7 rows where case_id = 2480235

✎ 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
5417750 2480235 2480235 plaintiff Pomes John     Pomes, John, on his own account 0
5417751 2480235 2480235 defendant Plumbe Adam laborer 589306 589306 Plumbe, Adam, of Catfeld, laborer 0
5417752 2480235 2480235 defendant Johnson William clerk 658746 658746 Johnson, William, of Walpole, Suff, clerk 1
5417753 2480235 2480235 defendant Whitfote Thomas yeoman 590420 590420 Whitfote, Thomas, of Rougham, yeoman 2
5417754 2480235 2480235 defendant Magnus Henry shipman 804762 804762 Magnus, Henry, of Beston by the sea, shipman 3
5417755 2480235 2480235 defendant Hill Thomas husbandman 586471 586471 Hill, Thomas, of Aylesham, husbandman 4
5417756 2480235 2480235 defendant Estwheyte John clerk 586471 586471 Estwheyte, John, of Aylesham, clerk 5

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.779ms