home / cp40x

names

7 rows where case_id = 2509681

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5515461 2509681 2509681 plaintiff Shelton Ralph knight, sheriff of Suff   Shelton, Ralph, knight, sheriff of Suff 0
5515462 2509681 2509681 defendant Deppeden Roger husbandman 586779 586779 Deppeden, Roger, of Brampton, husbandman 0
5515463 2509681 2509681 defendant Hanum Henry husbandman 772838 772838 Hanum, Henry, of Hokton, husbandman 1
5515464 2509681 2509681 defendant Moore William yeoman 589858 589858 Moore, William, of Frostenden, yeoman 2
5515465 2509681 2509681 defendant Salowes Geoffrey yeoman 589858 589858 Salowes, Geoffrey, of Frostenden, yeoman 3
5515466 2509681 2509681 defendant Byglans William yeoman 872120 872120 Byglans, William, of Suth Elmham, yeoman 4
5515467 2509681 2509681 defendant Grene John yeoman 759979 759979 Grene, John, of Soterle, yeoman 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 13.291ms