home / cp40x

names

8 rows where case_id = 2042512

✎ 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
4050221 2042512 2042512 plaintiff Warner Henry attorney of the Bench   Warner, Henry, attorney of the Bench 0
4050222 2042512 2042512 defendant Bassett Elizabeth widow 682561 682561 Bassett, Elizabeth, of Blore, Staffs, widow 0
4050223 2042512 2042512 defendant Collyar Robert esq 665230 665230 Collyar, Robert, of Dorlaston, Staffs, esq 1
4050224 2042512 2042512 defendant Whythurst John yeoman 682562 682562 Whythurst, John, of Whythurst, Staffs, yeoman 2
4050225 2042512 2042512 defendant Morres Henry nailer 656691 656691 Morres, Henry, of West Bromyche, Staffs, nailer 3
4050226 2042512 2042512 defendant Sprat Edward gent 682563 682563 Sprat, Edward, of Asshemerbroke, Staffs, gent 4
4050227 2042512 2042512 defendant Leveson Thomas esq   Leveson, Thomas, esq, executor of 5
4050228 2042512 2042512 defendant Leveson John esq 594086 594086 Leveson, John, of Wolverhampton, Staffs, esq 6

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