home / cp40x

names

5 rows where case_id = 1996658

✎ 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
3918945 1996658 1996658 plaintiff Jermyn Thomas knight, sheriff of Norf   Jermyn, Thomas, knight, sheriff of Norf 0
3918946 1996658 1996658 defendant Brampton William gent 596816 596816 Brampton, William, of Letton, Norf, gent 0
3918947 1996658 1996658 defendant Bround George gent 651620 651620 Bround, George, of Gyrston, Norf, gent 1
3918948 1996658 1996658 defendant Skeye Thomas yeoman 638620 638620 Skeye, Thomas, of Thornage, Norf, yeoman 2
3918949 1996658 1996658 defendant Gower Geoffrey yeoman 651621 651621 Gower, Geoffrey, of Hoxton, Norf, yeoman 3

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.834ms