home / cp40x

names

7 rows where case_id = 2461349

✎ 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
5354101 2461349 2461349 plaintiff Hals John     Hals, John 0
5354102 2461349 2461349 defendant Butler William yeoman 603077 603077 Butler, William, of Lynam, yeoman 0
5354103 2461349 2461349 defendant Sessons Thomas yeoman 588554 588554 Sessons, Thomas, of Shipton under Whichewode, yeoman 1
5354104 2461349 2461349 defendant Tetnale Thomas yeoman 593171 593171 Tetnale, Thomas, of Milton, yeoman 2
5354105 2461349 2461349 defendant Smyth Richard husbandman 593171 593171 Smyth, Richard, of Milton, husbandman 3
5354106 2461349 2461349 defendant Tanner Thomas tanner 876800 876800 Tanner, Thomas, of Brewern, tanner 4
5354107 2461349 2461349 defendant Chamberleyn John yeoman 603077 603077 Chamberleyn, John, of Lynam, 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.702ms