home / cp40x

names

7 rows where case_id = 1947378

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3767169 1947378 1947378 plaintiff More Thomas knight, chancellor, Duchy of Lancaster   More, Thomas, knight, chancellor, Duchy of Lancaster 0
3767170 1947378 1947378 plaintiff Bonham Thomas     Bonham, Thomas 1
3767171 1947378 1947378 plaintiff Butler Thomas esq   Butler, Thomas, esq 2
3767172 1947378 1947378 defendant Decka Elias gent 625937 625937 Decka, Elias, of Wrixham, Bromfyld, gent 0
3767173 1947378 1947378 defendant Johns Robert yeoman 625938 625938 Johns, Robert, of Wrixham, yeoman 1
3767174 1947378 1947378 defendant (not given) Hugh rector of Aphol 586606 586606 Aphol, Hugh, of Chester, rector of Eccleston 2
3767175 1947378 1947378 defendant Dymmok Uriam gent 586606 586606 Dymmok, Uriam, of Chester, gent 3

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 17.361ms