home / cp40x

names

6 rows where case_id = 2392842

✎ 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
5121904 2392842 2392842 plaintiff Tregarthen Thomas     Tregarthen, Thomas 0
5121905 2392842 2392842 defendant Derneford James esq 848322 848322 Derneford, James, of Estonehous, Devon, esq 0
5121906 2392842 2392842 defendant Page John merchant 592959 592959 Page, John, of Plymmouth, Devon, merchant 1
5121907 2392842 2392842 defendant Tavystoke Roger merchant 586834 586834 Tavystoke, Roger, of Plymmouth, merchant 2
5121908 2392842 2392842 defendant Dabernon Richrd merchant 586834 586834 Dabernon, Richrd, of Plymmouth, merchant 3
5121909 2392842 2392842 defendant Tregyll Thomas merchant 586834 586834 Tregyll, Thomas, of Plymmouth, merchant 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 19.87ms