home / cp40x

names

7 rows where case_id = 2535150

✎ 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
5600835 2535150 2535150 plaintiff Hyll John (legal representative) 904640 904640 Hyll, John, of Shannyngfeld, executors of 0
5600836 2535150 2535150 plaintiff Hylle John     (Hylle, John 1
5600837 2535150 2535150 plaintiff Hylle James     Hylle, James 2
5600838 2535150 2535150 defendant Hylle William yeoman 585934 585934 Hylle, William, of Becclys, yeoman 0
5600839 2535150 2535150 defendant Dem or Ben Ralph yeoman 586817 586817 Dem or Ben, Ralph, of Lowystoft, yeoman 1
5600840 2535150 2535150 defendant Edmondys John   586241 586241 Edmondys, John, of Wrentham, wheelwright 2
5600841 2535150 2535150 defendant Corbold Richard husbandman 596605 596605 Corbold, Richard, of Parham, husbandman 3

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