home / cp40x

names

8 rows where place_id = 622082

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3745090 1940372 1940372 defendant Swynerton Thomas esq 622082 622082 Swynerton, Thomas, of Hylton, Staffs, esq 0
3754198 1943261 1943261 plaintiff Swynnerton Thomas esq 622082 622082 Swynnerton, Thomas, of Hylton, Staffs, esq 0
3780877 1951753 1951753 defendant Hyll Roger husbandman 622082 622082 (Hyll, Roger, of Hylton, Staffs, husbandman 1
3788354 1954157 1954157 defendant Hyll Roger yeoman 622082 622082 Hyll, Roger, of Hylton, Staffs, yeoman 2
3885844 1985521 1985521 defendant Bagott Stephen gent 622082 622082 Bagott, Stephen, of Hylton, Staffs, gent 0
3889099 1986592 1986592 defendant Bagott Stephen gent 622082 622082 Bagott, Stephen, of Hylton, Staffs, gent 0
3891370 1987379 1987379 defendant Alen Roger yeoman 622082 622082 Alen, Roger, of Hylton, Staffs, yeoman 0
3903173 1991289 1991289 defendant Bagott Stephen gent 622082 622082 Bagott, Stephen, of Hylton, Staffs, gent 0

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 19.118ms