home / cp40x

names

6 rows where case_id = 2491565

✎ 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
5455531 2491565 2491565 plaintiff Boughey Robert     Boughey, Robert 0
5455532 2491565 2491565 defendant Sheperd William yeoman 593953 593953 Sheperd, William, of Tutbury, yeoman 0
5455533 2491565 2491565 defendant Wiston Thomas husbandman 616350 616350 Wiston, Thomas, of Longton, husbandman 1
5455534 2491565 2491565 defendant Polson Richard yeoman 612837 612837 Polson, Richard, of Bedull, yeoman 2
5455535 2491565 2491565 defendant Gamell Thomas, sen yeoman 624875 624875 Gamell, Thomas, sen, of Aldlem, Cheshire, yeoman 3
5455536 2491565 2491565 defendant Gamell Thomas jun, of Aldlem, yeoman   Gamell, Thomas, jun, of Aldlem, 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.731ms