home / cp40x

names

6 rows where case_id = 1987469

✎ 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
3891668 1987469 1987469 plaintiff Lobys Humphrey     Lobys, Humphrey 0
3891669 1987469 1987469 defendant Cary William esq 646559 646559 Cary, William, of Schebbere, esq 0
3891670 1987469 1987469 defendant Baggylhole John husbandman 646559 646559 Baggylhole, John, of Schebbere, husbandman 1
3891671 1987469 1987469 defendant Nicoll Robert husbandman 646559 646559 Nicoll, Robert, of Schebbere, husbandman 2
3891672 1987469 1987469 defendant Nicoll Richard husbandman 646559 646559 Nicoll, Richard, of Schebbere, husbandman 3
3891673 1987469 1987469 defendant Frye alias Trevale William yeoman 632318 632318 Frye alias Trevale, William, of Highampton, yeoman 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.789ms