home / cp40x

names

6 rows where case_id = 2519757

✎ 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
5549034 2519757 2519757 plaintiff Bedford Thomas clerk   Bedford, Thomas, clerk, executor of 0
5549035 2519757 2519757 plaintiff Bedford John     Bedford, John 1
5549036 2519757 2519757 defendant Laken George gent 589790 589790 Laken, George, of Derby, Lincs, gent 0
5549037 2519757 2519757 defendant Ledys John gent 624080 624080 Ledys, John, of Colby, Lincs, gent 1
5549038 2519757 2519757 defendant Mathewe William gent 898894 898894 Mathewe, William, of Santon, Lincs, gent 2
5549039 2519757 2519757 defendant Smyth William yeoman 670405 670405 Smyth, William, of Burton Stater, Lincs, yeoman 3

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.691ms