home / cp40x

names

6 rows where case_id = 2339419

✎ 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
4941675 2339419 2339419 plaintiff Eyton Nicholas esq   Eyton, Nicholas, esq 0
4941676 2339419 2339419 defendant Haddeley Richard husbandman 767496 767496 Haddeley, Richard, of Dodyton, husbandman 0
4941677 2339419 2339419 defendant Lloytt Guttyn ap Jenn yeoman 588600 588600 Lloytt, Guttyn ap Jenn, of Westbury, yeoman 1
4941678 2339419 2339419 defendant Potter William yeoman 825229 825229 Potter, William, of Bottrelles Aston, yeoman 2
4941679 2339419 2339419 defendant Hethey Hugh husbandman 709825 709825 Hethey, Hugh, of Cressage, husbandman 3
4941680 2339419 2339419 defendant Gippoles Richard yeoman 709825 709825 Gippoles, Richard, of Cressage, yeoman 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.321ms