home / cp40x

names

7 rows where case_id = 1915240

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3665777 1915240 1915240 plaintiff Sutton John (legal representative) 606585 606585 Sutton, John, of Dontton, Bucks, yeoman, executors of 0
3665778 1915240 1915240 plaintiff Sutton Agnes widow, formerly wife of John   (Sutton, Agnes, widow, formerly wife of John 1
3665779 1915240 1915240 plaintiff Colles Richard     Colles, Richard 2
3665780 1915240 1915240 plaintiff Sutton John, junior     Sutton, John, junior 3
3665781 1915240 1915240 defendant Rosse Edmund husbandman 606587 606587 Rosse, Edmund, of Hempsted, Heref, husbandman 0
3665782 1915240 1915240 defendant Hache William husbandman 591120 591120 Hache, William, of Hempsted, Herts, husbandman 1
3665783 1915240 1915240 defendant Stapps William husbandman 596584 596584 Stapps, William, of Stanbrigge, husbandman 2

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