home / cp40x

names

9 rows where case_id = 2407604

✎ 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
5172228 2407604 2407604 plaintiff Merten Thomas     Merten, Thomas 0
5172229 2407604 2407604 defendant atte Well Robert butcher 591495 591495 atte Well, Robert, of Dodyngton, butcher 0
5172230 2407604 2407604 defendant Croxston Richard smith 586224 586224 Croxston, Richard, of Grendon, smith 1
5172231 2407604 2407604 defendant Staunton John husbandman 626110 626110 Staunton, John, of Stanwyk, husbandman 2
5172232 2407604 2407604 defendant Gryndell William yeoman 589539 589539 Gryndell, William, of Wollaston, yeoman 3
5172233 2407604 2407604 defendant Rove Simon chandler 759540 759540 Rove, Simon, of Irchestre, chandler 4
5172234 2407604 2407604 defendant Howden John husbandman 595602 595602 Howden, John, of Raundes, husbandman 5
5172235 2407604 2407604 defendant By the Water Thomas husbandman 621737 621737 By the Water, Thomas, of Ryngstede, husbandman 6
5172236 2407604 2407604 defendant Taillour Thomas butcher 586344 586344 Taillour, Thomas, of Burton, butcher 7

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