home / cp40x

names

7 rows where case_id = 2371483

✎ 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
5049506 2371483 2371483 plaintiff Spufford Thomas   762635 762635 Spufford, Thomas, of Hereford, bishop 0
5049507 2371483 2371483 defendant Combr' John husbandman 840103 840103 Combr', John, of Prestbury, Gloucs, husbandman 0
5049508 2371483 2371483 defendant Coterell John husbandman 840104 840104 Coterell, John, of Sevenhampton, Gloucs, husbandman 1
5049509 2371483 2371483 defendant Whiteby Henry husbandman 840105 840105 Whiteby, Henry, of Teweford, husbandman 2
5049510 2371483 2371483 defendant Cheyney John gent 840106 840106 Cheyney, John, of Altrig, gent 3
5049511 2371483 2371483 defendant Walcote Walter gent 840107 840107 Walcote, Walter, of Ludbury, Shrops, gent 4
5049512 2371483 2371483 defendant Burge William   840108 840108 Burge, William, of Presbebury, Wylkyn, 5

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.18ms