home / cp40x

names

8 rows where case_id = 2342587

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4952072 2342587 2342587 plaintiff Reynold John chaplain   Reynold, John, chaplain 0
4952073 2342587 2342587 defendant Leyngsteward Thomas vicar of Elmestede, Essex   Leyngsteward, Thomas, vicar of Elmestede, Essex 0
4952074 2342587 2342587 defendant Denys Robert clerk 826592 826592 Denys, Robert, of Northlewe, Devon, clerk 1
4952075 2342587 2342587 defendant Reynold John husbandman 821663 821663 Reynold, John, of Shaldeford, Essex, husbandman 2
4952076 2342587 2342587 defendant Clerke John ostler 733873 733873 Clerke, John, of Ferynge, Essex, ostler 3
4952077 2342587 2342587 defendant Russell William (legal representative) 695961 695961 Russell, William, of Dultynge, clerk, executors of 4
4952078 2342587 2342587 defendant Carter Edmund yeoman 826594 826594 (Carter, Edmund, of Shapton Malet, Soms, yeoman 5
4952079 2342587 2342587 defendant Snowedon William chaplain 826595 826595 Snowedon, William, of Westeramere, Soms, chaplain 6

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