home / cp40x

names

8 rows where case_id = 1874877

✎ 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
3623478 1874877 1874877 plaintiff (not given) Ralph prior of Shene Priory   Shene Priory, Ralph, prior of 0
3623479 1874877 1874877 defendant (not given) John abbot of Cerne Abbey   Cerne Abbey, John, abbot of 0
3623480 1874877 1874877 defendant Warde Richard laborer 596172 596172 Warde, Richard, of Wareham, laborer 1
3623481 1874877 1874877 defendant Wyllyamson Nicholas mercer 596172 596172 Wyllyamson, Nicholas, of Wareham, mercer 2
3623482 1874877 1874877 defendant Clerk Walter husbandman 596173 596173 Clerk, Walter, of Wareham, husbandmanWillys, John, of Wareham, husbandman 3
3623483 1874877 1874877 defendant Gylot John husbandman 596172 596172 Gylot, John, of Wareham, husbandman 4
3623484 1874877 1874877 defendant Gerard John, junior gent 596172 596172 Gerard, John, junior, of Wareham, gent 5
3623485 1874877 1874877 defendant Chekford Richard yeoman 596174 596174 Chekford, Richard, of Shirburne, yeoman 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 13.225ms