home / cp40x

names

8 rows where case_id = 2530367

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5584941 2530367 2530367 plaintiff Hobart James knight   Hobart, James, knight 0
5584942 2530367 2530367 plaintiff Honywode Robert clerk   Honywode, Robert, clerk 1
5584943 2530367 2530367 defendant Tyrell Thomas esq 839216 839216 Tyrell, Thomas, of Gippyng, Suff, esq 0
5584944 2530367 2530367 defendant Audeley John   601211 601211 Audeley, John, of Bergham, Suff, knight 1
5584945 2530367 2530367 defendant Wentworth Richard   900696 900696 Wentworth, Richard, of Netylsted, Suff, knight 2
5584946 2530367 2530367 defendant Tyrell James esq 589902 589902 Tyrell, James, of Stowmarket, Suff, esq 3
5584947 2530367 2530367 defendant Framyngham James esq 588336 588336 Framyngham, James, of Debenham, Suff, esq 4
5584948 2530367 2530367 defendant Reve Edward yeoman 599659 599659 Reve, Edward, of Thwayte, Suff, yeoman 5

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