home / cp40x

names

6 rows where case_id = 1913640

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3660787 1913640 1913640 plaintiff Hunkys Robert     Hunkys, Robert 0
3660788 1913640 1913640 defendant Ryley Simon yeoman 605211 605211 Ryley, Simon, of Brayles, Warw, yeoman 0
3660789 1913640 1913640 defendant Ryley John yoeman 605212 605212 Ryley, John, of Broad Campden, Gloucs, yoeman 1
3660790 1913640 1913640 defendant James John husbandman 605213 605213 James, John, of Mykelton, Gloucs, husbandman 2
3660791 1913640 1913640 defendant Carver John yeoman 605214 605214 Carver, John, of Broadway, yeoman 3
3660792 1913640 1913640 defendant Hommyng Henry   586204 586204 Hommyng, Henry, of Bengeworth, wool winder 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 18.933ms