home / cp40x

names

6 rows where case_id = 2370966

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5047822 2370966 2370966 plaintiff Pittes Richard receiver for the Westminster Abbey 821244 821244 Pittes, Richard, of Brigstok, receiver for the Westminster Abbey 0
5047823 2370966 2370966 defendant Knolles William   606003 606003 Knolles, William, of Sulby, abbot of the monastery of the BM 0
5047824 2370966 2370966 defendant Belham John husbandman 839810 839810 Belham, John, of Tychemerssh, masonl Shelton, Thomas, of Tychemerssh, husbandman 1
5047825 2370966 2370966 defendant Person Thomas clerk 593363 593363 Person, Thomas, of Thrapston, clerk 2
5047826 2370966 2370966 defendant Wolaston John yeoman 617029 617029 Wolaston, John, of Aldewyncle, yeoman 3
5047827 2370966 2370966 defendant Thyrynyng Thomas   839811 839811 Thyrynyng, Thomas, of Burton, execu 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 15.028ms