home / cp40x

names

7 rows where case_id = 2400469

✎ 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
5147708 2400469 2400469 plaintiff Colchestre Thomas     Colchestre, Thomas 0
5147709 2400469 2400469 defendant Gerard Richard yeoman 586134 586134 Gerard, Richard, of Ipswich, yeoman 0
5147710 2400469 2400469 defendant Gerard Agnes formerly wife of John Draper, of Ipswich   Agnes, his wife, formerly wife of John Draper, of Ipswich 1
5147711 2400469 2400469 defendant Wyndesore William husbandman 589159 589159 Wyndesore, William, of Codenham, husbandman 2
5147712 2400469 2400469 defendant Wode Robert butcher 823122 823122 Wode, Robert, of Nedham, Market, butcher 3
5147713 2400469 2400469 defendant Bocher John butcher 586405 586405 Bocher, John, of Nedham Market, butcher 4
5147714 2400469 2400469 defendant Prat Richard laborer 589159 589159 Prat, Richard, of Codenham, laborer 5

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