home / cp40x

names

6 rows where case_id = 2405000

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5163296 2405000 2405000 plaintiff West Richard tailor 585869 585869 West, Richard, of London, tailor 0
5163297 2405000 2405000 defendant Nicholas Thomas   610372 610372 Nicholas, Thomas, of Frome Selwode, Soms, cloth man 0
5163298 2405000 2405000 defendant Nowell William spicer 587236 587236 Nowell, William, of Daventry, Nhants, spicer 1
5163299 2405000 2405000 defendant Punchardon John chaplain 801466 801466 Punchardon, John, of Petresfeld, Hants, draper, alias of Cambridge, Cambs, chaplain 2
5163300 2405000 2405000 defendant Thorp John yeoman 752999 752999 Thorp, John, of Gillingham, Kent, yeoman 3
5163301 2405000 2405000 defendant Russell Richard stationer 585869 585869 Russell, Richard, of London, stationer 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 17.335ms