home / cp40x

names

7 rows where case_id = 1965596

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3824687 1965596 1965596 plaintiff White John   591729 591729 White, John, of Knoll 0
3824688 1965596 1965596 defendant Broke William husbandman 593193 593193 Broke, William, of Braunton, husbandman 0
3824689 1965596 1965596 defendant Taylor Clement husbandman 593193 593193 Taylor, Clement, of Braunton, husbandman 1
3824690 1965596 1965596 defendant Dirward Richard husbandman 593193 593193 Dirward, Richard, of Braunton, husbandman 2
3824691 1965596 1965596 defendant Walkehey Thomas   593193 593193 Walkehey, Thomas, of Braunton, groom 3
3824692 1965596 1965596 defendant Northwoode Richard husbandman 593193 593193 Northwoode, Richard, of Braunton, husbandman 4
3824693 1965596 1965596 defendant Cokke Thomas husbandman 593193 593193 Cokke, Thomas, of Braunton, 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.181ms