home / cp40x

names

7 rows where case_id = 1865222

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3592344 1865222 1865222 plaintiff Gandy Robert yeoman 587750 587750 Gandy, Robert, of Wortwale, Redenhale, yeoman 0
3592345 1865222 1865222 defendant Smyth Richard butcher 587751 587751 Smyth, Richard, of Bongey, Suff, butcher 0
3592346 1865222 1865222 defendant Foxle John butcher 587752 587752 Foxle, John, of Bekkelys, Suff, butcher 1
3592347 1865222 1865222 defendant Chapleyn Robert cooper 587753 587753 Chapleyn, Robert, of Blythburgh, Suff, cooper 2
3592348 1865222 1865222 defendant Daldy John pewterer 587754 587754 Daldy, John, of Byllyngford, pewterer 3
3592349 1865222 1865222 defendant Gore John (legal representative) 588355 588355 Gore, John, of South Elmham, Suff, brick maker, administratrix of 4
3592350 1865222 1865222 defendant Gore Joan widow 587756 587756 Gore, Joan, of Flyxton, widow 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 13.506ms