home / cp40x

names

9 rows where case_id = 2525199

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5567953 2525199 2525199 plaintiff Ernley John     Ernley, John 0
5567954 2525199 2525199 defendant Curwen Robert gent 900961 900961 Curwen, Robert, of Curwen, Cumber, gent 0
5567955 2525199 2525199 defendant Maynwaryng John esq 900962 900962 Maynwaryng, John, of Pevir, Cheshire, esq 1
5567956 2525199 2525199 defendant Damport Ralph esq 628376 628376 Damport, Ralph, of Damport, Cheshire, esq 2
5567957 2525199 2525199 defendant Metcalff James esq 614482 614482 Metcalff, James, of Nappey, Yorks, esq 3
5567958 2525199 2525199 defendant Talbot Gilbert   600217 600217 Talbot, Gilbert, of Grafton, Worcs, knight 4
5567959 2525199 2525199 defendant Lisle Lancelot gent 618103 618103 Lisle, Lancelot, of Becheworth, Surrey, gent 5
5567960 2525199 2525199 defendant Venables Thomas esq 587180 587180 Venables, Thomas, of Kynderton, Cheshire, esq 6
5567961 2525199 2525199 defendant Skelton John gent 900963 900963 Skelton, John, of Middelward, Cumber, gent, son of Skelton, Marmaduke, of Middelward, gent 7

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.453ms