home / cp40x

names

8 rows where case_id = 1908317

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3643257 1908317 1908317 plaintiff Cotton William     Cotton, William 0
3643258 1908317 1908317 defendant Bosse Humphrey chapman 586929 586929 Bosse, Humphrey, of Neweport, chapman 0
3643259 1908317 1908317 defendant Kendall Richard husbandman 586929 586929 Kendall, Richard, of Neweport, husbandman 1
3643260 1908317 1908317 defendant Blundell Thomas husbandman 600943 600943 Blundell, Thomas, of Bysshoppys Castell, husbandman 2
3643261 1908317 1908317 defendant Lys John chapman 600944 600944 Lys, John, of Newpoprt, chapman 3
3643262 1908317 1908317 defendant Tether Ellen widow 596973 596973 Tether, Ellen, of Newport, widow 4
3643263 1908317 1908317 defendant Addysley Thomas husbandman 600945 600945 Addysley, Thomas, of Dreyton, husbandman 5
3643264 1908317 1908317 defendant Glover John chapman 600946 600946 Glover, John, of Briknowe, chapman 6

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.116ms