home / cp40x

names

9 rows where case_id = 2348314

✎ 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
4971162 2348314 2348314 plaintiff Holme Brian     Holme, Brian 0
4971163 2348314 2348314 defendant Bulkyn Thomas yeoman 615348 615348 Bulkyn, Thomas, of North Burton, yeoman 0
4971164 2348314 2348314 defendant Wakefeld Roger gent 615348 615348 Wakefeld, Roger, of North Burton, gent 1
4971165 2348314 2348314 defendant Colton Thomas baker 586070 586070 Colton, Thomas, of Beverley, baker 2
4971166 2348314 2348314 defendant Coke John baker 586070 586070 Coke, John, of Beverley, baker 3
4971167 2348314 2348314 defendant Gisburgh William merchant 586070 586070 Gisburgh, William, of Beverley, merchant 4
4971168 2348314 2348314 defendant Westerdale John yeoman 586070 586070 Westerdale, John, of Beverley, yeoman 5
4971169 2348314 2348314 defendant Lutton Robert   586070 586070 Lutton, Robert, of Beverley, comb smith 6
4971170 2348314 2348314 defendant Goose John John, of Kingston on Hull, merchant   Goose, John, John, of Kingston on Hull, merchant 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 14.804ms