home / cp40x

names

7 rows where case_id = 2286191

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4768704 2286191 2286191 plaintiff North John     North, John 0
4768705 2286191 2286191 plaintiff Rogers Thomas     Rogers, Thomas 1
4768706 2286191 2286191 defendant Cole Robert   590816 590816 Cole, Robert, of Shirbourne, Dorset, bow maker 0
4768707 2286191 2286191 defendant Bere Richard   781524 781524 Bere, Richard, of Coventry, Warws, gold smith 1
4768708 2286191 2286191 defendant Brasyer Thomas   604131 604131 Brasyer, Thomas, of Winchester, Hants, brass worker 2
4768709 2286191 2286191 defendant Foulbourne John chaplain 799647 799647 Foulbourne, John, of Lowedham, Norf, chaplain 3
4768710 2286191 2286191 defendant Oweden John chapman 588619 588619 Oweden, John, of Somerleton, Suff, chapman 4

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