home / cp40x

names

6 rows where case_id = 2389138

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5109269 2389138 2389138 plaintiff Fynaunce James     Fynaunce, James 0
5109270 2389138 2389138 defendant Some John husbandman 847410 847410 Some, John, of Astwode, Buck, husbandman 0
5109271 2389138 2389138 defendant Some William husbandman 624741 624741 Some, William, of Astwode, husbandman 1
5109272 2389138 2389138 defendant Some Robert husbandman 624741 624741 Some, Robert, of Astwode, husbandman 2
5109273 2389138 2389138 defendant Frankeleyn Robert yeoman 617477 617477 Frankeleyn, Robert, of Leke, Staffs, yeoman 3
5109274 2389138 2389138 defendant Milward Henry tailor 779194 779194 Milward, Henry, of Alstonfeld, Staffs, tailor 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 14.92ms