home / cp40x

names

6 rows where case_id = 1867281

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3598894 1867281 1867281 plaintiff Sulyard Edward     Sulyard, Edward 0
3598895 1867281 1867281 defendant Motte John yeoman 586772 586772 Motte, John, of Shalford, yeoman 0
3598896 1867281 1867281 defendant Glascok John husbandman 589732 589732 Glascok, John, of High Ester, husbandman 1
3598897 1867281 1867281 defendant Tagell Nicholas husbandman 589824 589824 Tagell, Nicholas, of Macchyng, husbandman 2
3598898 1867281 1867281 defendant Sibly Edward husbandman 589825 589825 Sibly, Edward, of Kympton, Herts, husbandman 3
3598899 1867281 1867281 defendant Sibly Joan widow 588156 588156 Sibly, Joan, of Kympton, widow 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.68ms