home / cp40x

names

9 rows where case_id = 2365691

✎ 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
5030161 2365691 2365691 plaintiff Pecche William esq   Pecche, William, esq 0
5030162 2365691 2365691 defendant Average William parson of Naketon   Average, William, parson of Naketon 0
5030163 2365691 2365691 defendant Parker Henry esq 586134 586134 Parker, Henry, of Ipswich, esq 1
5030164 2365691 2365691 defendant Brygges Thomas husbandman 604831 604831 Brygges, Thomas, of Somersham, husbandman 2
5030165 2365691 2365691 defendant Cukkok John yeoman 617404 617404 Cukkok, John, of Russhmere, yeoman 3
5030166 2365691 2365691 defendant Lowys John glover 586134 586134 Lowys, John, of Ipswich, glover 4
5030167 2365691 2365691 defendant Lorkyn Robert weaver 586134 586134 Lorkyn, Robert, of Ipswich, weaver 5
5030168 2365691 2365691 defendant Bonte ot Boute John of Ipswich dyer   Bonte ot Boute, John of Ipswich, dyer 6
5030169 2365691 2365691 defendant Burgoyn John   815920 815920 Burgoyn, John, of Ipswich, sergeant 7

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