home / cp40x

names

6 rows where case_id = 2366840

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5034102 2366840 2366840 plaintiff Stangate John merchant 586817 586817 Stangate, John, of Lowystoft, merchant 0
5034103 2366840 2366840 defendant Broke Richard mercer 603130 603130 Broke, Richard, of Hallysworth, mercer 0
5034104 2366840 2366840 defendant Smyth Roger yeoman 837656 837656 Smyth, Roger, of Garbotelesham, Norf, yeoman 1
5034105 2366840 2366840 defendant Reynham John draper 587550 587550 Reynham, John, of Eye, draper 2
5034106 2366840 2366840 defendant Chalsforth John   837657 837657 Chalsforth, John, of Newton juxta Haghlee, "neet dryver" or drover 3
5034107 2366840 2366840 defendant Pope John butcher 807911 807911 Pope, John, of Brokedyssh, Norf, butcher 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 18.422ms