home / cp40x

names

7 rows where case_id = 2249162

✎ 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
4660674 2249162 2249162 plaintiff Derhurst John     Derhurst, John 0
4660675 2249162 2249162 defendant Brok Simon gent 586958 586958 Brok, Simon, of Gloucester, gent 0
4660676 2249162 2249162 defendant Stevenys Thomas husbandman 620416 620416 Stevenys, Thomas, of Longney, husbandman 1
4660677 2249162 2249162 defendant Payn William   779321 779321 Payn, William, of Rodberowe, franklin 2
4660678 2249162 2249162 defendant Gyse Anne gentlewoman 586079 586079 Gyse, Anne, of Bedford, gentlewoman 3
4660679 2249162 2249162 defendant Maldon Lawrence   779322 779322 Maldon, Lawrence, of Hebbeley, franklin 4
4660680 2249162 2249162 defendant Hoper John woolman 586842 586842 Hoper, John, of Cirencester, woolman 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.585ms