home / cp40x

names

7 rows where case_id = 2440246

✎ 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
5283561 2440246 2440246 plaintiff Fagger William     Fagger, William 0
5283562 2440246 2440246 defendant Yonge John yeoman 780268 780268 Yonge, John, of Ponynges, yeoman 0
5283563 2440246 2440246 defendant Stapeler Richard   593160 593160 Stapeler, Richard, of Dorkyng, administrators of 1
5283564 2440246 2440246 defendant Wyllot John yeoman 861936 861936 (Wyllot, John, of Okle, Surrey, yeoman 2
5283565 2440246 2440246 defendant Godman John yeoman 595782 595782 Godman, John, of Dorkyng, Surrey, yeoman 3
5283566 2440246 2440246 defendant Stepeler Isabel widow 593160 593160 Stepeler, Isabel, of Dorkyng, widow 4
5283567 2440246 2440246 defendant Chapelet John husbandman 866690 866690 Chapelet, John, of Annyngdon, Sussex, husbandman 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 17.614ms