home / cp40x

names

6 rows where case_id = 2318387

✎ 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
4872599 2318387 2318387 plaintiff of Lancaster John Duke of Bedford   of Lancaster, John, Duke of Bedford 0
4872600 2318387 2318387 defendant Hyrd Richard yeoman 758170 758170 Hyrd, Richard, of Kentmere, yeoman 0
4872601 2318387 2318387 defendant Ayra John yeoman 811134 811134 Ayra, John, of Kentmer, yeoman 1
4872602 2318387 2318387 defendant Ayra William yeoman 811134 811134 Ayra, William, of Kentmer, yeoman 2
4872603 2318387 2318387 defendant Ayra Thomas yeoman 811134 811134 Ayra, Thomas, of Kentmer, yeoman 3
4872604 2318387 2318387 defendant Temple Nicholas yeoman 595856 595856 Temple, Nicholas, of Alnewyk, Northumb, yeoman 4

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.726ms