home / cp40x

names

6 rows where case_id = 2499715

✎ 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
5482522 2499715 2499715 plaintiff Heed Henry     Heed, Henry 0
5482523 2499715 2499715 defendant Chanceller John smith 591475 591475 Chanceller, John, of Hychyn, Herts, smith 0
5482524 2499715 2499715 defendant Gateward John yeoman 588457 588457 Gateward, John, of Thaxsted, Essex, yeoman 1
5482525 2499715 2499715 defendant Heryngham John yeoman 865846 865846 Heryngham, John, of Watnall, Notts, yeoman 2
5482526 2499715 2499715 defendant Norton William laborer 586848 586848 Norton, William, of Northampton, laborer 3
5482527 2499715 2499715 defendant Clobber William laborer 891984 891984 Clobber, William, of Heth juxta Leyghton, Beds, 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 13.704ms