home / cp40x

names

7 rows where case_id = 2282651

✎ 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
4757275 2282651 2282651 plaintiff Botiller Adam     Botiller, Adam 0
4757276 2282651 2282651 defendant Cortman Robert yeoman 712004 712004 Cortman, Robert, of Riplay, yeoman 0
4757277 2282651 2282651 defendant Panell John husbandman 797605 797605 Panell, John, of Tenturgate, in Knaresburgh, husbandman 1
4757278 2282651 2282651 defendant Carter Thomas fishmonger 797606 797606 Carter, Thomas, of Burghbridge, fishmonger 2
4757279 2282651 2282651 defendant Lofthouse Thomas   588700 588700 Lofthouse, Thomas, of Dunsford, administrators of 3
4757280 2282651 2282651 defendant Praunce Richard chaplain 588700 588700 (Praunce, Richard, of Dunsford, chaplain 4
4757281 2282651 2282651 defendant Diconson Roger husbandman 588700 588700 Diconson, Roger, of Dunsford, husbandman 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 6.833ms