home / cp40x

names

6 rows where case_id = 1868310

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3602070 1868310 1868310 plaintiff Bradford John     Bradford, John 0
3602071 1868310 1868310 defendant Hagh Otwell dyer 590715 590715 Hagh, Otwell, of Byngley, dyer 0
3602072 1868310 1868310 defendant Hyppon William gent 590716 590716 Hyppon, William, of Fetherston, gent 1
3602073 1868310 1868310 defendant Coke Thomas yeoman 589887 589887 Coke, Thomas, of Pontefract, yeoman 2
3602074 1868310 1868310 defendant Beyn John husbandman 586641 586641 Beyn, John, of Aketon, husbandman 3
3602075 1868310 1868310 defendant Jope John yeoman 590715 590715 Jope, John, of Byngley, yeoman 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 6.219ms