home / cp40x

names

7 rows where case_id = 2211069

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4534518 2211069 2211069 plaintiff Sawage Richard minister of the house of St Robert 589200 589200 Sawage, Richard, of Knaresburgh, minister of the house of St Robert 0
4534519 2211069 2211069 defendant Penbarne John clerk 767001 767001 Penbarne, John, of Owitkyrk, clerk 0
4534520 2211069 2211069 defendant Plumton Robert son of Thomas   Plumton, Robert, son of Thomas 1
4534521 2211069 2211069 defendant Shephyrd Richard (legal representative) 637157 637157 Shephyrd, Richard, of Plumton, executors of 2
4534522 2211069 2211069 defendant Tomson Robert   637157 637157 (Tomson, Robert, of Plumton 3
4534523 2211069 2211069 defendant Shephyrd John   637157 637157 Shephyrd, John, of Plumton 4
4534524 2211069 2211069 defendant Shephurd Walter   637157 637157 Shephurd, Walter, of Plumton 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 15.206ms