home / cp40x

names

6 rows where case_id = 2287553

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4773086 2287553 2287553 plaintiff Styward William     Styward, William 0
4773087 2287553 2287553 defendant Dowe John butcher 800385 800385 Dowe, John, of Wykkelwood, butcher 0
4773088 2287553 2287553 defendant Yonge John laborer 800386 800386 Yonge, John, of Herwham, laborer 1
4773089 2287553 2287553 defendant Goos John yeoman 587415 587415 Goos, John, of Hyndercle, Suff, yeoman 2
4773090 2287553 2287553 defendant Wynter Alexander yeoman 591103 591103 Wynter, Alexander, of Attilburgh, yeoman 3
4773091 2287553 2287553 defendant Catelyn John shipman 596744 596744 Catelyn, John, of Crowmer, shipman 4

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