home / cp40x

names

7 rows where case_id = 2306736

✎ 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
4834289 2306736 2306736 plaintiff Couhurde Nicholas     Couhurde, Nicholas 0
4834290 2306736 2306736 defendant Jakes Richard weaver 613561 613561 Jakes, Richard, of Shirborne, weaver 0
4834291 2306736 2306736 defendant Bracy Robert husbandman 588802 588802 Bracy, Robert, of Wotton, husbandman 1
4834292 2306736 2306736 defendant Trebell Robert yeoman 588802 588802 Trebell, Robert, of Wotton, yeoman 2
4834293 2306736 2306736 defendant Trybell John, sen (legal representative)   Trybell, John, sen, executors of 3
4834294 2306736 2306736 defendant Trebell John husbandman   (Trebell, John, husbandman 4
4834295 2306736 2306736 defendant Trybell Joan widow, formerly wife of John Trybell, sen, of Wotton   Trybell, Joan, widow, formerly wife of John Trybell, sen, of Wotton 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 15.938ms