home / cp40x

names

6 rows where case_id = 2272451

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4722818 2272451 2272451 plaintiff Cotyngton Thomas   586846 586846 Cotyngton, Thomas, of Lincoln 0
4722819 2272451 2272451 defendant Shakes William   586846 586846 Shakes, William, of Lincoln, glove maker 0
4722820 2272451 2272451 defendant Dalison Nicholas gent 638275 638275 Dalison, Nicholas, of Laghton, Lincs, gent 1
4722821 2272451 2272451 defendant Godfray Robert (legal representative) 587250 587250 Godfray, Robert, of Coryngham, executors of 2
4722822 2272451 2272451 defendant Godfray Joan   587250 587250 (Godfray, Joan, of Coryngham, widow, formerly wife of Robert 3
4722823 2272451 2272451 defendant atte Halle Robert husbandman 791236 791236 atte Halle, Robert, of Aseby, 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 17.093ms