home / cp40x

names

7 rows where case_id = 2304941

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4828441 2304941 2304941 plaintiff ap Gryffith Thomas esq   ap Gryffith, Thomas, esq, administrator of 0
4828442 2304941 2304941 plaintiff Gryffith John knight   Gryffith, John, knight 1
4828443 2304941 2304941 defendant Harpeley Richard yeoman 808838 808838 Harpeley, Richard, of Pyrhill, yeoman 0
4828444 2304941 2304941 defendant Gadkyn William yeoman 808839 808839 Gadkyn, William, of Tattmondeslowe [ or Totmonslow in Staffs ], yeoman 1
4828445 2304941 2304941 defendant Ynns William yeoman 808840 808840 Ynns, William, of Cuttilstone [ or Cuttleston hundred in Staffs ], yeoman 2
4828446 2304941 2304941 defendant Gunston John jun, of Seydon, yeoman   Gunston, John, jun, of Seydon, yeoman 3
4828447 2304941 2304941 defendant Gunston John, sen yeoman 586223 586223 Gunston, John, sen, of Walsale, 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 14.207ms