home / cp40x

names

7 rows where case_id = 2305391

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4829881 2305391 2305391 plaintiff Bedford John duke of   Bedford, John, duke of 0
4829882 2305391 2305391 defendant Caccheh_ Geoffrey     Caccheh_, Geoffrey 0
4829883 2305391 2305391 defendant Smyth Andrew smith 590847 590847 Smyth, Andrew, of Saham, smith 1
4829884 2305391 2305391 defendant Hervy John     Hervy, John 2
4829885 2305391 2305391 defendant Dewesby (illegible) husbandman 608371 608371 Dewesby, _, of Westle, husbandman 3
4829886 2305391 2305391 defendant Taillour Philip     Taillour, Philip 4
4829887 2305391 2305391 defendant Curthose Robert husbandman 809092 809092 Curthose, Robert, of Ildrisham, husbandman 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 14.049ms