home / cp40x

names

7 rows where case_id = 2369124

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5041715 2369124 2369124 plaintiff Colyns William gent   Colyns, William, gent, on his own account 0
5041716 2369124 2369124 defendant Reydon John, senior yeoman 838743 838743 Reydon, John, senior, of Coggyshale, Essex, yeoman 0
5041717 2369124 2369124 defendant Reydon John, junior yeoman 838744 838744 Reydon, John, junior, of Coggyshale, yeoman 1
5041718 2369124 2369124 defendant Turnour John yeoman 594009 594009 Turnour, John, of Branktre, Essex, yeoman 2
5041719 2369124 2369124 defendant Butte John shoemaker 656060 656060 Butte, John, of Sypton, Suff, shoemaker 3
5041720 2369124 2369124 defendant Baret William yeoman 838745 838745 Baret, William, of Pulham, Norff, yeoman 4
5041721 2369124 2369124 defendant Davy John   592390 592390 Davy, John, of Dysse, Norf, husb 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 16.346ms