home / cp40x

names

6 rows where case_id = 1911904

✎ 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
3655263 1911904 1911904 plaintiff Blyth John     Blyth, John 0
3655264 1911904 1911904 defendant Crokker John yeoman 603648 603648 Crokker, John, of Hooke Norton, yeoman 0
3655265 1911904 1911904 defendant Jurden William husbandman 603648 603648 Jurden, William, of Hooke Norton, husbandman 1
3655266 1911904 1911904 defendant Hern John husbandman 617264 617264 Hern, John, of Sybford, husbandman 2
3655267 1911904 1911904 defendant Warde Richard husbandman 589981 589981 Warde, Richard, of Hoke Norton, husbandman 3
3655268 1911904 1911904 defendant Ingram robert husbandman 603650 603650 Ingram, robert, of Hoke Norten, husbandman 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 14.66ms