home / cp40x

names

6 rows where case_id = 1990129

✎ 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
3899742 1990129 1990129 plaintiff Borowes John     Borowes, John 0
3899743 1990129 1990129 defendant Hurton alias Stevyns Robert   648080 648080 Hurton alias Stevyns, Robert, of Galesfeld, shearsmith 0
3899744 1990129 1990129 defendant Newbold John cutler 593492 593492 Newbold, John, of Sheffeld, cutler 1
3899745 1990129 1990129 defendant Turnor Richard husbandman 648081 648081 Turnor, Richard, of Rigeways, Derbs, husbandman 2
3899746 1990129 1990129 defendant Tomson Richard husbandman 602021 602021 Tomson, Richard, of Beghton, Derbs, husbandman 3
3899747 1990129 1990129 defendant Carre Richard husbandman 618441 618441 Carre, Richard, of Beighton, 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 16.688ms