home / cp40x

names

6 rows where case_id = 2518011

✎ 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
5543262 2518011 2518011 plaintiff Parcyvale John knight, of London, alderman   Parcyvale, John, knight, of London, alderman 0
5543263 2518011 2518011 defendant Boorne Richard clothmaker 587019 587019 Boorne, Richard, of Crambroke, Kent, clothmaker 0
5543264 2518011 2518011 defendant Pettyte William clothier 898275 898275 Pettyte, William, of Shyrburne, Hants, clothier 1
5543265 2518011 2518011 defendant True Richard clothier 590727 590727 True, Richard, of Chepyng Wycombe, Bucks, clothier 2
5543266 2518011 2518011 defendant Graunte John clothier 600393 600393 Graunte, John, of Sherburne, clothier 3
5543267 2518011 2518011 defendant Mylton John clothmaker 898276 898276 Mylton, John, of Andwell, Hants, clothmaker 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 7.003ms