home / cp40x

names

6 rows where case_id = 2368379

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5039244 2368379 2368379 plaintiff Bedell William   589768 589768 Bedell, William, of Wrytell 0
5039245 2368379 2368379 plaintiff Drakys Thomas   753819 753819 Drakys, Thomas, of Great Waltham 1
5039246 2368379 2368379 defendant Smyth John   816799 816799 Smyth, John, of Waldene, Essex, administrators of 0
5039247 2368379 2368379 defendant atte Wode John maltman 588643 588643 (atte Wode, John, of Walden, Essex, maltman 1
5039248 2368379 2368379 defendant Wode John clerk 588643 588643 Wode, John, of Walden, Essex, clerk 2
5039249 2368379 2368379 defendant Gossyb William farmer 586312 586312 Gossyb, William, of Walden, farmer 3

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 17.415ms