home / cp40x

names

6 rows where case_id = 2348353

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4971304 2348353 2348353 plaintiff Hopkyn Henry     Hopkyn, Henry 0
4971305 2348353 2348353 defendant Grym Thomas boatman 589268 589268 Grym, Thomas, of Outwell, Norf, boatman 0
4971306 2348353 2348353 defendant Breest Thomas boatman 589269 589269 Breest, Thomas, of Upwell, Norf, boatman 1
4971307 2348353 2348353 defendant Coryour Henry husbandman 590356 590356 Coryour, Henry, of Oundell, husbandman 2
4971308 2348353 2348353 defendant Est John butcher 615886 615886 Est, John, of Wynwyk, butcher 3
4971309 2348353 2348353 defendant Aldhous William draper 603511 603511 Aldhous, William, of Peterborough, draper 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.481ms