home / cp40x

names

6 rows where case_id = 2448116

✎ 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
5310312 2448116 2448116 plaintiff Varney Richard knight   Varney, Richard, knight 0
5310313 2448116 2448116 defendant Peyto John esq 589100 589100 Peyto, John, of Chesterton, esq 0
5310314 2448116 2448116 defendant Spenser John yeoman 869789 869789 Spenser, John, of Hodnyll, yeoman 1
5310315 2448116 2448116 defendant Geffes Robert husbandman 869790 869790 Geffes, Robert, of Chepyng Dorset, husbandman 2
5310316 2448116 2448116 defendant Makernes Richard yeoman 614451 614451 Makernes, Richard, of Nethercote, yeoman 3
5310317 2448116 2448116 defendant Billyng Richard husbandman 589100 589100 Billyng, Richard, of Chesterton, husbandman 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.095ms