home / cp40x

names

8 rows where case_id = 1981160

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3872916 1981160 1981160 plaintiff Browne Edward (legal representative) 585869 585869 Browne, Edward, of London, merchant tailor, executors of 0
3872917 1981160 1981160 plaintiff Broun Margaret widow   (Broun, Margaret, widow 1
3872918 1981160 1981160 plaintiff Mabylstone John clerk   Mabylstone, John, clerk 2
3872919 1981160 1981160 defendant Catesby Richard esq 633832 633832 Catesby, Richard, of Lapworth, Warks, esq 0
3872920 1981160 1981160 defendant Smyth John clothier 586606 586606 Smyth, John, of Chester, clothier 1
3872921 1981160 1981160 defendant Longford Ralph   623735 623735 Longford, Ralph, of Longford, Derbs, knight 2
3872922 1981160 1981160 defendant Hayward George merchant 643333 643333 Hayward, George, of Brygenorth, Salop, merchant 3
3872923 1981160 1981160 defendant Goldtone Humphrey merchant 622673 622673 Goldtone, Humphrey, of Brygenorth, merchant 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.423ms