home / cp40x

names

6 rows where case_id = 1988131

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3893757 1988131 1988131 plaintiff Potter John   612532 612532 Potter, John, of Beston 0
3893758 1988131 1988131 defendant Fulke John smith 632897 632897 Fulke, John, of Studdey, smith 0
3893759 1988131 1988131 defendant Tolle John carpenter 627077 627077 Tolle, John, of Byllyngforth, carpenter 1
3893760 1988131 1988131 defendant Bevys Richard laborer 587166 587166 Bevys, Richard, of Salle, laborer 2
3893761 1988131 1988131 defendant Danham Thomas yeoman 586524 586524 Danham, Thomas, of Swanton Morley, yeoman 3
3893762 1988131 1988131 defendant Ryche Thomas fisherman 588539 588539 Ryche, Thomas, of Est Rudham, fisherman 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 12.363ms