home / cp40x

names

9 rows where case_id = 2417002

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5204262 2417002 2417002 plaintiff Dutton Robert (legal representative) 585951 585951 Dutton, Robert, of Winchester, executors of 0
5204263 2417002 2417002 plaintiff Dutton John     (Dutton, John 1
5204264 2417002 2417002 plaintiff Hore William     Hore, William 2
5204265 2417002 2417002 plaintiff Hore Isabel     Isabel, his wife 3
5204266 2417002 2417002 defendant Milward John fishmonger 585951 585951 Milward, John, of Winchester, fishmonger 0
5204267 2417002 2417002 defendant Broune John husbandman 859138 859138 Broune, John, of Milford by New Lemyngton, husbandman 1
5204268 2417002 2417002 defendant Dore John husbandman 595238 595238 Dore, John, of New Lemyngton, husbandman 2
5204269 2417002 2417002 defendant Couper Henry butcher 585951 585951 Couper, Henry, of Winchester, butcher 3
5204270 2417002 2417002 defendant Gregori John merchant 585951 585951 Gregori, John, of Winchester, merchant 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 17.101ms