home / cp40x

names

8 rows where case_id = 2325030

✎ 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
4894751 2325030 2325030 plaintiff Vampage John     Vampage, John 0
4894752 2325030 2325030 defendant Grene John merchant 586435 586435 Grene, John, of Leicester, merchant 0
4894753 2325030 2325030 defendant Sapcote John (legal representative) 587566 587566 Sapcote, John, of Keton, Rutland, merchant, executors of 1
4894754 2325030 2325030 defendant Sapcote Joan widow 630847 630847 (Sapcote, Joan, of Keton, widow 2
4894755 2325030 2325030 defendant Sapcote John husbandman 586963 586963 Sapcote, John, of Grantham, Lincs, husbandman 3
4894756 2325030 2325030 defendant Sapcote Richard merchant 587177 587177 Sapcote, Richard, of Staunford, Lincs, merchant 4
4894757 2325030 2325030 defendant Brigge John   816991 816991 Brigge, John, of Okkam, Rutland 5
4894758 2325030 2325030 defendant Tylton William merchant 809419 809419 Tylton, William, of Leton, merchant 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 8.662ms