home / cp40x

names

7 rows where case_id = 2434998

✎ 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
5265608 2434998 2434998 plaintiff Tanfeld Robert, junior     Tanfeld, Robert, junior 0
5265609 2434998 2434998 defendant Neweman Benedict chaplain 586807 586807 Neweman, Benedict, of Everton, Hunts, chaplain 0
5265610 2434998 2434998 defendant Cramwell Henry potter 592735 592735 together with Cramwell, Henry, of Everton, potter 1
5265611 2434998 2434998 defendant Roger John yeoman 630157 630157 Roger, John, of Oundell, Nhants, yeoman 2
5265612 2434998 2434998 defendant Preston John husbandman 592735 592735 Preston, John, of Everton, husbandman 3
5265613 2434998 2434998 defendant Naseby John gent 585869 585869 Naseby, John, of London, gent 4
5265614 2434998 2434998 defendant Cramwell John potter 865977 865977 Cramwell, John, of Cramwell, Hunts, potter 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 9.387ms