home / cp40x

names

7 rows where case_id = 2280013

✎ 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
4748307 2280013 2280013 plaintiff Man Andrew   585936 585936 Man, Andrew, of Norwich, the butcher, on his own account 0
4748308 2280013 2280013 defendant Serviaunt Robert yeoman 599961 599961 Serviaunt, Robert, of Aldeby, yeoman 0
4748309 2280013 2280013 defendant Cook John   585936 585936 Cook, John, of Norwich, tallow chandler 1
4748310 2280013 2280013 defendant Reyard William husbandman 585933 585933 Reyard, William, of Great Yarmouth, husbandman 2
4748311 2280013 2280013 defendant Cates John yeoman 591254 591254 Cates, John, of Skothowe, yeoman 3
4748312 2280013 2280013 defendant John of Spykysworth parson   John, of Spykysworth, parson 4
4748313 2280013 2280013 defendant Ederyche William yeoman 591409 591409 Ederyche, William, of Hemnale, 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 15.483ms