home / cp40x

names

8 rows where case_id = 2349999

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4976747 2349999 2349999 plaintiff Penhale John clerk   Penhale, John, clerk 0
4976748 2349999 2349999 defendant Kelly William   824598 824598 Kelly, William, of Bradeworthy, Devon, franklin 0
4976749 2349999 2349999 defendant Huysshe Thomas laborer 591778 591778 Huysshe, Thomas, of Okhampton, Devon, laborer 1
4976750 2349999 2349999 defendant Hokkeday Thomas tailor 642495 642495 Hokkeday, Thomas, of Bratton, Devon, tailor 2
4976751 2349999 2349999 defendant Heydon John tailor 829643 829643 Heydon, John, of Germannyswyke, Devon, tailor 3
4976752 2349999 2349999 defendant Chagesty Henry husbandman 829644 829644 Chagesty, Henry, of Germannyswyke, husbandman 4
4976753 2349999 2349999 defendant Sekcombe Henry husbandman 829644 829644 Sekcombe, Henry, of Germannyswyke, husbandman 5
4976754 2349999 2349999 defendant Hokkeday John tailor 829645 829645 Hokkeday, John, of Braddeworthy, tailor 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 23.094ms