home / cp40x

names

6 rows where place_id = 660062

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3854007 1974889 1974889 defendant Mores William   660062 660062 Mores, William, of Hylton, Hunts, gent, administrators of 1
3854011 1974890 1974890 defendant Mores William   660062 660062 Mores, William, of Hylton, Hunts, gent, administrators of 1
3955010 2008819 2008819 defendant Hukkull Richard husbandman 660062 660062 Hukkull, Richard, of Hylton, Hunts, husbandman 0
3981235 2018051 2018051 defendant Hyron John yeoman 660062 660062 Hyron, John, of Hylton, Hunts, yeoman 0
4691197 2262767 2262767 defendant Fraunceys Walter smith 660062 660062 Fraunceys, Walter, of Hylton, Hunts, smith 0
4914223 2330963 2330963 defendant Batell John butcher 660062 660062 Batell, John, of Hylton, Hunts, butcher 1

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