home / cp40x

names

8 rows where case_id = 2352590

✎ 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
4985534 2352590 2352590 plaintiff Acres John grocer 585869 585869 Acres, John, of London, grocer 0
4985535 2352590 2352590 plaintiff Cave John grocer 585869 585869 Cave, John, of London, grocer 1
4985536 2352590 2352590 plaintiff Mildenhale Robert     Mildenhale, Robert 2
4985537 2352590 2352590 defendant Elwyn William chapman 598296 598296 Elwyn, William, of Spaldyng, Lincs, chapman 0
4985538 2352590 2352590 defendant Dygh William chapman 586608 586608 Dygh, William, of Newerk, Notts, chapman 1
4985539 2352590 2352590 defendant Skot William chapman 830744 830744 Skot, William, of Roderham, Staffs, chapman 2
4985540 2352590 2352590 defendant fouler Robert chapman 585871 585871 fouler, Robert, of Taunton, Soms, chapman 3
4985541 2352590 2352590 defendant Dyghyll John Holbeche, Lincs, husbandman   Dyghyll, John, Holbeche, Lincs, husbandman 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 16.551ms