home / cp40x

names

7 rows where case_id = 1915242

✎ 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
3665789 1915242 1915242 plaintiff Sutton John (legal representative) 597623 597623 Sutton, John, of Dunton, Bucks, yeoman, executors of 0
3665790 1915242 1915242 plaintiff Sutton Agnes widow, formerly wife of John   (Sutton, Agnes, widow, formerly wife of John 1
3665791 1915242 1915242 plaintiff Colles Richard   593455 593455 Colles, Richard, of Whitchurch 2
3665792 1915242 1915242 plaintiff Sutton John, junior     Sutton, John, junior 3
3665793 1915242 1915242 defendant Rosse Edmund husbandman 591120 591120 Rosse, Edmund, of Hempsted, Herts, husbandman 0
3665794 1915242 1915242 defendant Hache William husbandman 591120 591120 Hache, William, of Hempsted, Herts, husbandman 1
3665795 1915242 1915242 defendant Lyseley Richard clothier 603952 603952 Lyseley, Richard, of New Windsor, Berks, clothier 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 15.726ms