home / cp40x

names

8 rows where case_id = 1928857

✎ 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
3708186 1928857 1928857 plaintiff Mundy John knight   Mundy, John, knight 0
3708187 1928857 1928857 plaintiff Rote William clerk   Rote, William, clerk 1
3708188 1928857 1928857 plaintiff Scotte William     Scotte, William 2
3708189 1928857 1928857 defendant Derker John tanner 614553 614553 Derker, John, of Redford, tanner 0
3708190 1928857 1928857 defendant Tyngill Richard tanner 614553 614553 Tyngill, Richard, of Redford, tanner 1
3708191 1928857 1928857 defendant Turnour Robert yeoman 590962 590962 Turnour, Robert, of Lichefeld, Staffs, yeoman 2
3708192 1928857 1928857 defendant Dobbyns Henry capper 586117 586117 Dobbyns, Henry, of Coventry, capper 3
3708193 1928857 1928857 defendant Gonne John laborer 615306 615306 Gonne, John, of Aulesley, laborer 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 13.424ms