home / cp40x

names

6 rows where case_id = 2120976

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4274353 2120976 2120976 plaintiff Ayscough Edward esq, sheriff   Ayscough, Edward, esq, sheriff 0
4274354 2120976 2120976 defendant Tayler John brewer 586286 586286 Tayler, John, of Boston, brewer 0
4274355 2120976 2120976 defendant Massingberd William gent 691696 691696 Massingberd, William, of Spilsby, gent 1
4274356 2120976 2120976 defendant Himman Anthony husbandman 648032 648032 Himman, Anthony, of Surflett, husbandman 2
4274357 2120976 2120976 defendant Curteys Brian (legal representative) 586286 586286 Curteys, Brian, of Boston, merchant, administratrix of 3
4274358 2120976 2120976 defendant Kennythorpe Oliver butcher 627268 627268 (Kennythorpe, Oliver, of Lowthe, butcher 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.058ms