home / cp40x

names

7 rows where case_id = 1909003

✎ 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
3645538 1909003 1909003 plaintiff Gwyllam Thomas prior of Lenton Priory   Gwyllam, Thomas, prior of Lenton Priory 0
3645539 1909003 1909003 defendant Hode Ralph miller 601376 601376 Hode, Ralph, of Lenton, miller 0
3645540 1909003 1909003 defendant Hode Thomas husbandman 601475 601475 Hode, Thomas, of Swaynton, Leics, husbandman 1
3645541 1909003 1909003 defendant Herdeley John yeoman 601476 601476 Herdeley, John, of Whitwyke, Leics, yeoman 2
3645542 1909003 1909003 defendant Blakegrene John husbandman 601477 601477 Blakegrene, John, of Overton, Derbs, husbandman 3
3645543 1909003 1909003 defendant Ball Thomas husbandman 601478 601478 Ball, Thomas, of Whitwike, husbandman 4
3645544 1909003 1909003 defendant Fairfeld William miller 601479 601479 Fairfeld, William, of Hukkulston, Leics, miller 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 15.995ms