home / cp40x

names

7 rows where case_id = 2014305

✎ 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
3970596 2014305 2014305 plaintiff Derne John gent 585936 585936 Derne, John, of Norwich, gent 0
3970597 2014305 2014305 defendant Davy Robert husbandman 663888 663888 Davy, Robert, of Magna Wychyngham, Norf, husbandman 0
3970598 2014305 2014305 defendant Sharpe John yeoman 590901 590901 Sharpe, John, of Thetford, Norf, yeoman 1
3970599 2014305 2014305 defendant Jacobbe William yeoman 586399 586399 Jacobbe, William, of Magna Wychyngham, yeoman 2
3970600 2014305 2014305 defendant Howell Thomas copper 585936 585936 Howell, Thomas, of Norwich, copper 3
3970601 2014305 2014305 defendant Ede Robert yeoman 663890 663890 Ede, Robert, of Shorpham, Norf, yeoman 4
3970602 2014305 2014305 defendant Bury John yeoman 656775 656775 Bury, John, of Backton, Norf, yeoman 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 17.816ms