home / cp40x

names

6 rows where case_id = 2527240

✎ 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
5574926 2527240 2527240 plaintiff Shawe William     Shawe, William 0
5574927 2527240 2527240 defendant Anger Clement husbandman 611718 611718 Anger, Clement, of Harpley, husbandman 0
5574928 2527240 2527240 defendant Johnson Gerard husbandman 594580 594580 Johnson, Gerard, of Swafham Market, husbandman 1
5574929 2527240 2527240 defendant Walden John husbandman 594580 594580 Walden, John, of Swafham Market, husbandman 2
5574930 2527240 2527240 defendant Burre William husbandman 599449 599449 Burre, William, of Est Barsham, husbandman 3
5574931 2527240 2527240 defendant Walker Robert husbandman 599449 599449 Walker, Robert, of Est Barsham, 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 14.457ms