home / cp40x

names

10 rows where case_id = 2366819

✎ 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
5034015 2366819 2366819 plaintiff Stafford John Archbishop of Canterbury   Stafford, John, Archbishop of Canterbury 0
5034016 2366819 2366819 defendant Basset Ralph esq 606860 606860 Basset, Ralph, of Flore, esq 0
5034017 2366819 2366819 defendant Basset Richard gent 837650 837650 Basset, Richard, of Tuttesbury, gent 1
5034018 2366819 2366819 defendant Meverell Richard gent 606860 606860 Meverell, Richard, of Flore, gent 2
5034019 2366819 2366819 defendant Thornbury William yeoman 606860 606860 Thornbury, William, of Flore, yeoman 3
5034020 2366819 2366819 defendant Canterell John yeoman 614778 614778 Canterell, John, of Alfeld, yeoman 4
5034021 2366819 2366819 defendant Assheton Roger yeoman 685153 685153 Assheton, Roger, of Wenton, yeoman 5
5034022 2366819 2366819 defendant Toples John yeoman 586220 586220 Toples, John, of Stansop, yeoman 6
5034023 2366819 2366819 defendant Toppyng Richard yeoman 837651 837651 Toppyng, Richard, of Greetyate, yeoman 7
5034024 2366819 2366819 defendant Goold William yeoman 586224 586224 Goold, William, of Grendon, yeoman 8

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