home / cp40x

names

9 rows where case_id = 2338987

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4940291 2338987 2338987 plaintiff de Ferrarys Thomas esq   de Ferrarys, Thomas, esq 0
4940292 2338987 2338987 plaintiff Willoughby Hugh knight   Willoughby, Hugh, knight 1
4940293 2338987 2338987 plaintiff Aston Robert esq   Aston, Robert, esq 2
4940294 2338987 2338987 defendant Worseley John yeoman 586974 586974 Worseley, John, of Pollesworth, yeoman 0
4940295 2338987 2338987 defendant Bradshawe Robert yeoman 586974 586974 Bradshawe, Robert, of Pollesworth, yeoman 1
4940296 2338987 2338987 defendant Hyde Stephen yeoman 586974 586974 Hyde, Stephen, of Pollesworth, yeoman 2
4940297 2338987 2338987 defendant Hyde William yeoman 586974 586974 Hyde, William, of Pollesworth, yeoman 3
4940298 2338987 2338987 defendant Benedictte Thomas tailor 586974 586974 Benedictte, Thomas, of Pollesworth, tailor 4
4940299 2338987 2338987 defendant Barbour John yeoman 603520 603520 Barbour, John, of Atherston, yeoman 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 12.958ms