home / cp40x

names

7 rows where case_id = 2276993

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4738014 2276993 2276993 plaintiff Wathe Ralph clerk   Wathe, Ralph, clerk 0
4738015 2276993 2276993 defendant Benet Walter husbandman 653378 653378 Benet, Walter, of Wylyngham, husbandman 0
4738016 2276993 2276993 defendant Sodlomb James jun, of Rampton, husbandman   Sodlomb, James, jun, of Rampton, husbandman 1
4738017 2276993 2276993 defendant Danke William   774552 774552 Danke, William, of Botkesham, wheel wright 2
4738018 2276993 2276993 defendant Smyth John husbandman 586784 586784 Smyth, John, of Burgh, husbandman 3
4738019 2276993 2276993 defendant Halywell Simon (legal representative) 793870 793870 Halywell, Simon, of Hynxton, Cambs, administrator of 4
4738020 2276993 2276993 defendant Halywell John clerk 793871 793871 Halywell, John, of Beverys, Suff, 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 15.276ms