home / cp40x

names

8 rows where case_id = 1935029

✎ 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
3728004 1935029 1935029 plaintiff Wolsey Thomas Archbishop of York   Wolsey, Thomas, Archbishop of York 0
3728005 1935029 1935029 plaintiff Foxe Richard Bishop of Winchester   Foxe, Richard, Bishop of Winchester 1
3728006 1935029 1935029 defendant Gascoign William   619083 619083 Gascoign, William, of Gawthrop, Yorks, knight 0
3728007 1935029 1935029 defendant Gascoign Henry esq 619084 619084 Gascoign, Henry, of Gawthrop, esq 1
3728008 1935029 1935029 defendant Middelton Thomas esq 619084 619084 Middelton, Thomas, of Gawthrop, esq 2
3728009 1935029 1935029 defendant Rise Grifon (legal representative) 591558 591558 Rise, Grifon, of Carmarden, knight, executors of 3
3728010 1935029 1935029 defendant Egecomb Peter   591843 591843 (Egecomb, Peter, of Stonehouse, Devon, knight 4
3728011 1935029 1935029 defendant Cornwale Thomas   597898 597898 Cornwale, Thomas, of Burford, Salop, knight 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 13.631ms