home / cp40x

names

7 rows where case_id = 1874313

✎ 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
3621653 1874313 1874313 plaintiff (not given) Roger prior of Old Malton Priory   Old Malton Priory, Roger, prior of 0
3621654 1874313 1874313 defendant Barnby Hugh tailor 595726 595726 Barnby, Hugh, of Eberston, Pykerynglith, tailor 0
3621655 1874313 1874313 defendant Salter William husbandman 595727 595727 Salter, William, of Eberston, husbandman 1
3621656 1874313 1874313 defendant Ipe Richard husbandman 595727 595727 Ipe, Richard, of Eberston, husbandman 2
3621657 1874313 1874313 defendant Colynson Richard husbandman 595727 595727 Colynson, Richard, of Eberston, husbandman 3
3621658 1874313 1874313 defendant Swell William smith 595727 595727 Swell, William, of Eberston, smith 4
3621659 1874313 1874313 defendant Fleshour John   595727 595727 Fleshour, John, of Eberston, wright 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 11.839ms