home / cp40x

names

4 rows where place_id = 597765

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3629780 1904164 1904164 defendant Peise Richard chaplain 597765 597765 Peise, Richard, of Gaitford, chaplain 0
3849207 1973347 1973347 defendant Pynkney William yeoman 597765 597765 Pynkney, William, of Gaitford, yeoman 0
5069883 2377485 2377485 defendant Brentclif Thomas husbandman 597765 597765 Brentclif, Thomas, of Gaitford, ,husbandman 3
5578671 2528394 2528394 defendant Yorke Richard   597765 597765 Yorke, Richard, of Gaitford, knight 0

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 17.391ms