home / cp40x

names

9 rows where case_id = 2365761

✎ 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
5030391 2365761 2365761 plaintiff (not given)   abbot of Peterborough Abbey   Peterborough Abbey, abbot of 0
5030392 2365761 2365761 defendant Est John butcher 769035 769035 Est, John, of Petirburgh, butcher 0
5030393 2365761 2365761 defendant Mason William husbandman 765699 765699 Mason, William, of Dosthorp, husbandman 1
5030394 2365761 2365761 defendant Delamy John husbandman 765699 765699 Delamy, John, of Dosthorp, husbandman 2
5030395 2365761 2365761 defendant Lowerth Robert tailor 603511 603511 Lowerth, Robert, of Peterborough, tailor 3
5030396 2365761 2365761 defendant Wentbrigg John weaver 769035 769035 Wentbrigg, John, of Petirburgh, weaver 4
5030397 2365761 2365761 defendant Derneford Richard laborer 769035 769035 Derneford, Richard, of Petirburgh, laborer 5
5030398 2365761 2365761 defendant Smyth Thomas smith 769035 769035 Smyth, Thomas, of Petirburgh, smith 6
5030399 2365761 2365761 defendant Barre John husbandman 682384 682384 Barre, John, of Witlesey, Cams, husbandman 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 8.734ms