home / cp40x

names

8 rows where case_id = 2345576

✎ 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
4962113 2345576 2345576 plaintiff Brese Robert     Brese, Robert 0
4962114 2345576 2345576 defendant Bysshop Roger husbandman 607996 607996 Bysshop, Roger, of Parva Snoryng, husbandman 0
4962115 2345576 2345576 defendant Bright John husbandman 607996 607996 Bright, John, of Parva Snoryng, husbandman 1
4962116 2345576 2345576 defendant Anty Thomas clerk 621575 621575 Anty, Thomas, of Gateley, clerk 2
4962117 2345576 2345576 defendant Curle John husbandman 827865 827865 Curle, John, of Ketyllyston, husbandman 3
4962118 2345576 2345576 defendant Rous Edmund husbandman 591084 591084 Rous, Edmund, of Geyst, husbandman 4
4962119 2345576 2345576 defendant Monson William husbandman 587172 587172 Monson, William, of Est Derham, husbandman 5
4962120 2345576 2345576 defendant Everard John yeoman 621575 621575 Everard, John, of Gateley, yeoman 6

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 5.673ms