home / cp40x

names

7 rows where case_id = 1988698

✎ 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
3895480 1988698 1988698 plaintiff Sparry William     Sparry, William 0
3895481 1988698 1988698 defendant Cokes William dyer 615584 615584 Cokes, William, of Halesowen, Salop, dyer 0
3895482 1988698 1988698 defendant Wheler William yeoman 647297 647297 Wheler, William, of Martenhussyntre, yeoman 1
3895483 1988698 1988698 defendant Wryght Edward clerk 647298 647298 Wryght, Edward, of Clyfton on Thames, clerk 2
3895484 1988698 1988698 defendant Hemmyng Robert (legal representative)   Hemmyng, Robert, executors of 3
3895485 1988698 1988698 defendant Bokey John husbandman 594326 594326 (Bokey, John, of Hyll, husbandman 4
3895486 1988698 1988698 defendant Kempstowe William clerk 634784 634784 Kempstowe, William, of Odyngley, clerk 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 16.455ms