home / cp40x

names

6 rows where case_id = 1904123

✎ 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
3629638 1904123 1904123 plaintiff Darcy Thomas knight, Lord Darcy   Darcy, Thomas, knight, Lord Darcy 0
3629639 1904123 1904123 defendant Sherwod John, senior gent 597732 597732 Sherwod, John, senior, of Sherwod, gent 0
3629640 1904123 1904123 defendant Sherwod John, junior gent 597733 597733 Sherwod, John, junior, of Hensall, gent 1
3629641 1904123 1904123 defendant Peise Richard chaplain 597734 597734 Peise, Richard, of Gatsford juxta Selby, chaplain 2
3629642 1904123 1904123 defendant Banaster John yeoman 597733 597733 Banaster, John, of Hensall, yeoman 3
3629643 1904123 1904123 defendant Graunger John laborer 597733 597733 Graunger, John, of Hensall, laborer 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.431ms