home / cp40x

names

6 rows where case_id = 1968589

✎ 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
3834049 1968589 1968589 plaintiff Maye William tanner 601181 601181 Maye, William, of Wulpett, tanner 0
3834050 1968589 1968589 defendant Balley William husbandman 637034 637034 Balley, William, of Thorpe Morieux, husbandman 0
3834051 1968589 1968589 defendant Muskett William tanner 615230 615230 Muskett, William, of Drenkston, tanner 1
3834052 1968589 1968589 defendant Creme Roger tanner 615230 615230 Creme, Roger, of Drenkston, tanner 2
3834053 1968589 1968589 defendant Lawdys William brickmaker 601181 601181 Lawdys, William, of Wulpett, brickmaker 3
3834054 1968589 1968589 defendant Elderyche William yeoman 601181 601181 Elderyche, William, of Wulpett, yeoman 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 16.512ms