home / cp40x

names

8 rows where case_id = 2319072

✎ 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
4874839 2319072 2319072 plaintiff Richard John chaplain   Richard, John, chaplain 0
4874840 2319072 2319072 defendant Swan David gent 815873 815873 Swan, David, of Seyndy, gent 0
4874841 2319072 2319072 defendant Swan John fisher 815874 815874 Swan, John, of Estals, fisher 1
4874842 2319072 2319072 defendant Betty Nicholas yeoman 815875 815875 Betty, Nicholas, of Brianek, yeoman 2
4874843 2319072 2319072 defendant Hamly Thomas   597064 597064 Hamly, Thomas, of Redruth, groom 3
4874844 2319072 2319072 defendant Weryn Henry husbandman 815877 815877 Weryn, Henry, of Trenals, husbandman 4
4874845 2319072 2319072 defendant Vyvyan John fissher 815878 815878 Vyvyan, John, of Trenoryon, fissher 5
4874846 2319072 2319072 defendant Lukos Sampson John fissher 815878 815878 Lukos, Sampson John, of Trenoryon, fissher 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 18.013ms