home / cp40x

names

6 rows where case_id = 2318725

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4873722 2318725 2318725 plaintiff Plompton William knight   Plompton, William, knight 0
4873723 2318725 2318725 defendant Scharpe William husbandman 764374 764374 Scharpe, William, of Crophill, husbandman 0
4873724 2318725 2318725 defendant Roberdson Henry slater 815715 815715 Roberdson, Henry, of Halvyrton, Stawenton, slater 1
4873725 2318725 2318725 defendant Duffeld John husbandman 586778 586778 Duffeld, John, of Byngham, husbandman 2
4873726 2318725 2318725 defendant Travers Thomas husbandman 593513 593513 Travers, Thomas, of Staunton, husbandman 3
4873727 2318725 2318725 defendant Susyn Richard chaplain 595309 595309 Susyn, Richard, of Orston, chaplain 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 13.065ms