home / cp40x

names

7 rows where case_id = 2006542

✎ 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
3948503 2006542 2006542 plaintiff Dansey Bartholomew gent   Dansey, Bartholomew, gent 0
3948504 2006542 2006542 defendant Robert John husbandman 658459 658459 Robert, John, of Staunton on Arowe, husbandman 0
3948505 2006542 2006542 defendant Sawyer John husbandman 658460 658460 Sawyer, John, of Prestene, Radnor, husbandman 1
3948506 2006542 2006542 defendant Longe Henry weaver 604145 604145 Longe, Henry, of Pembridge, weaver 2
3948507 2006542 2006542 defendant Moseley John glover 604145 604145 Moseley, John, of Pembridge, glover 3
3948508 2006542 2006542 defendant Sybbowe John capper 604145 604145 Sybbowe, John, of Pembridge, capper 4
3948509 2006542 2006542 defendant Stretton John miller 604145 604145 Stretton, John, of Pembridge, miller 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 14.588ms