home / cp40x

names

7 rows where case_id = 2451102

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5320100 2451102 2451102 plaintiff Hurle John     Hurle, John 0
5320101 2451102 2451102 defendant Gylle William husbandman 872966 872966 Gylle, William, of Dounhous, Devon, husbandman 0
5320102 2451102 2451102 defendant Cradok John husbandman 657779 657779 Cradok, John, of Warbestowe, husbandman 1
5320103 2451102 2451102 defendant Stoteworthy Richard vicar of Walkhampton   Stoteworthy, Richard, vicar of Walkhampton, executors of 2
5320104 2451102 2451102 defendant Burgeys John chaplain 872967 872967 (Burgeys, John, of Sampford Spynay, Devon, chaplain 3
5320105 2451102 2451102 defendant Hyll Thomas parson of Mewey, Devon   Hyll, Thomas, parson of Mewey, Devon 4
5320106 2451102 2451102 defendant Stoteworthy John husbandman 716252 716252 Stoteworthy, John, of Walkhampton, husbandman 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 14.378ms