home / cp40x

names

7 rows where case_id = 2275957

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4734497 2275957 2275957 plaintiff Segrave Thomas     Segrave, Thomas 0
4734498 2275957 2275957 defendant Brokesby Bartholomew esq 588382 588382 Brokesby, Bartholomew, of Frysby, esq 0
4734499 2275957 2275957 defendant Burgh John gent 586784 586784 Burgh, John, of Burgh, gent 1
4734500 2275957 2275957 defendant Pratte Richard yeoman 624811 624811 Pratte, Richard, of Asfordby, yeoman 2
4734501 2275957 2275957 defendant Bynnyngton Thomas husbandman 624811 624811 Bynnyngton, Thomas, of Asfordby, husbandman 3
4734502 2275957 2275957 defendant Wryght Robert yeoman 588382 588382 Wryght, Robert, of Frysby, yeoman 4
4734503 2275957 2275957 defendant Burgh Roger   590380 590380 Burgh, Roger, of Melton Moubray, bailiff 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.089ms