home / cp40x

names

7 rows where case_id = 1941713

✎ 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
3749317 1941713 1941713 plaintiff Holyman William     Holyman, William 0
3749318 1941713 1941713 defendant Unthanke Lawrence leather seller 585869 585869 Unthanke, Lawrence, of London, leather seller 0
3749319 1941713 1941713 defendant Hutton Robert scrivener 597835 597835 Hutton, Robert, of Chesham, Bucks, scrivener 1
3749320 1941713 1941713 defendant West Thomas laborer 589386 589386 West, Thomas, of Chesham, laborer 2
3749321 1941713 1941713 defendant Hylle John laborer 589386 589386 Hylle, John, of Chesham, laborer 3
3749322 1941713 1941713 defendant Hylle John shoemaker 603173 603173 Hylle, John, of Barkhamsted, shoemaker 4
3749323 1941713 1941713 defendant Hylle Thomas husbandman 622864 622864 Hylle, Thomas, of Tryngon, 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 14.262ms