home / cp40x

names

8 rows where case_id = 2296104

✎ 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
4799735 2296104 2296104 plaintiff Tyllyoll Peter knight   Tyllyoll, Peter, knight 0
4799736 2296104 2296104 defendant Watere John yeoman 755988 755988 Watere, John, of Egremont, yeoman 0
4799737 2296104 2296104 defendant Tirry Robert yeoman 755988 755988 Tirry, Robert, of Egremont, yeoman 1
4799738 2296104 2296104 defendant Eryngton Gilbert esq 803878 803878 Eryngton, Gilbert, of Sadelyng Stanes, esq 2
4799739 2296104 2296104 defendant Belle Roland yeoman 760887 760887 Belle, Roland, of Gillesland, yeoman 3
4799740 2296104 2296104 defendant Snawdon Richard yeoman 760887 760887 Snawdon, Richard, of Gillesland, yeoman 4
4799741 2296104 2296104 defendant Fethir William merchant 781980 781980 Fethir, William, of Saureby, merchant 5
4799742 2296104 2296104 defendant Lambe William merchant 803879 803879 Lambe, William, of Middilscough, merchant 6

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