home / cp40x

names

6 rows where case_id = 1913112

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3659120 1913112 1913112 plaintiff Gardwey James     Gardwey, James 0
3659121 1913112 1913112 defendant Conop Richard butcher 604145 604145 Conop, Richard, of Pembridge, butcher 0
3659122 1913112 1913112 defendant Lyde John dyer 586392 586392 Lyde, John, of Leomynster, dyer 1
3659123 1913112 1913112 defendant Nycols David yeoman 604743 604743 Nycols, David, of Cawrose in Kenchurche, yeoman 2
3659124 1913112 1913112 defendant Mynsterley William chaplain 604744 604744 Mynsterley, William, of Bacton, chaplain 3
3659125 1913112 1913112 defendant ap Harry James gent 586958 586958 ap Harry, James, of Gloucester, gent 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 13.697ms