home / cp40x

names

7 rows where case_id = 2028897

✎ 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
4011594 2028897 2028897 plaintiff Pope Bartholomew gent, attorney of the bench   Pope, Bartholomew, gent, attorney of the bench 0
4011595 2028897 2028897 defendant Neightgale William clerk 673829 673829 Neightgale, William, of Uplowman, Devon, clerk 0
4011596 2028897 2028897 defendant Gyfford John esq 673830 673830 Gyfford, John, of Brighley, or of Chytilhampton, Devon, esq 1
4011597 2028897 2028897 defendant Mason William yeoman 673831 673831 Mason, William, of Cornewod, Devon, yeoman 2
4011598 2028897 2028897 defendant Blackemore Margery widow 641833 641833 Blackemore, Margery, of Northam, Devon, widow 3
4011599 2028897 2028897 defendant Blackemore John husbandman 601694 601694 Blackemore, John, of Northam, husbandman 4
4011600 2028897 2028897 defendant Snowdon William husbandman 673832 673832 Snowdon, William, of Aveton Gyfford, Devon, 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 10.917ms