home / cp40x

names

7 rows where case_id = 1971547

✎ 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
3843648 1971547 1971547 plaintiff Coke John (legal representative)   Coke, John, executor of 0
3843649 1971547 1971547 plaintiff Overy John     Overy, John 1
3843650 1971547 1971547 defendant Thomas Richard yeoman 638597 638597 Thomas, Richard, of Kyrkeby on Bayn, yeoman 0
3843651 1971547 1971547 defendant Fobbe John yeoman 586284 586284 Fobbe, John, of Orby, yeoman 1
3843652 1971547 1971547 defendant Blady William butcher 587546 587546 Blady, William, of Halton, butcher 2
3843653 1971547 1971547 defendant Bowland Richard husbandman 587546 587546 Bowland, Richard, of Halton, husbandman 3
3843654 1971547 1971547 defendant Saumer Thomas yeoman 587546 587546 Saumer, Thomas, of Halton, 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 12.097ms