home / cp40x

names

7 rows where case_id = 2046362

✎ 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
4061052 2046362 2046362 plaintiff Doughtie Thomas gent 586286 586286 Doughtie, Thomas, of Boston, gent 0
4061053 2046362 2046362 defendant Colvyll John esq 685102 685102 Colvyll, John, of Nuton, Cams, or of Pynchebeck, Lincs, esq 0
4061054 2046362 2046362 defendant Dighton Edmund esq 595200 595200 Dighton, Edmund, of Sturton, esq 1
4061055 2046362 2046362 defendant Dighton Thomas   595200 595200 Dighton, Thomas, of Sturton, gent, his son 2
4061056 2046362 2046362 defendant Wright Thomas gent 586286 586286 Wright, Thomas, of Boston, gent 3
4061057 2046362 2046362 defendant Carre Walter yeoman 594818 594818 Carre, Walter, of Byker, yeoman 4
4061058 2046362 2046362 defendant Stevenson John yeoman 621045 621045 Stevenson, John, of Wynthorpe, yeoman 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 14.047ms