home / cp40x

names

6 rows where case_id = 1981602

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3874224 1981602 1981602 plaintiff Corbett Roger esq   Corbett, Roger, esq 0
3874225 1981602 1981602 defendant Borne John yeoman 626393 626393 Borne, John, of Sulbury, yeoman 0
3874226 1981602 1981602 defendant Waldok Henry husbandman 643511 643511 Waldok, Henry, of Suthcote, husbandman 1
3874227 1981602 1981602 defendant Hertwell William husbandman 643511 643511 Hertwell, William, of Suthcote, husbandman 2
3874228 1981602 1981602 defendant Evatte John   595802 595802 Evatte, John, of Ovyng, yeoman, bailiff of Asshendon Hundred 3
3874229 1981602 1981602 defendant Wylson John yeoman 608440 608440 Wylson, John, of Whytchurche, 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 14.45ms