home / cp40x

names

7 rows where case_id = 2498853

✎ 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
5479392 2498853 2498853 plaintiff Case John     Case, John 0
5479393 2498853 2498853 defendant Saunders Henry chaplain 586368 586368 Saunders, Henry, of Taunton, chaplain 0
5479394 2498853 2498853 defendant Shirford William yeoman 586368 586368 Shirford, William, of Taunton, yeoman 1
5479395 2498853 2498853 defendant Bokelond Ralph gent 586368 586368 Bokelond, Ralph, of Taunton, gent 2
5479396 2498853 2498853 defendant Bromehous John yeoman 586368 586368 Bromehous, John, of Taunton, yeoman 3
5479397 2498853 2498853 defendant Hardyng Robert yeoman 606858 606858 Hardyng, Robert, of Asshehill, yeoman 4
5479398 2498853 2498853 defendant Clerke Robert yeoman 630386 630386 Clerke, Robert, of Troull, 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 14.783ms