home / cp40x

names

6 rows where case_id = 2415579

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5199411 2415579 2415579 plaintiff Wattes Richard     Wattes, Richard 0
5199412 2415579 2415579 defendant Rymelt John husbandman 858699 858699 Rymelt, John, of Clopley, in Sevenhampton, husbandman 0
5199413 2415579 2415579 defendant Reve John husbandman 858701 858701 Reve, John, of Clopley, husbandman 1
5199414 2415579 2415579 defendant Botiller John   858701 858701 Botiller, John, of Clopley, mill ward 2
5199415 2415579 2415579 defendant Frenssh Nicholas husbandman 594239 594239 Frenssh, Nicholas, of Okynton, husbandman 3
5199416 2415579 2415579 defendant Carpenter Thomas husbandman 858702 858702 Carpenter, Thomas, of Brockhampton, in Sevenhampton, husbandman 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 13.303ms