home / cp40x

names

7 rows where case_id = 2281127

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4752246 2281127 2281127 plaintiff Sutton Robert     Sutton, Robert, on his own account 0
4752247 2281127 2281127 defendant Midelton William husbandman 588663 588663 Midelton, William, of Tylney, husbandman 0
4752248 2281127 2281127 defendant Lavenham John yeoman 586228 586228 Lavenham, John, of Watlyngton, yeoman 1
4752249 2281127 2281127 defendant Dokkyng John husbandman 588823 588823 Dokkyng, John, of Snetesham, husbandman 2
4752250 2281127 2281127 defendant Norgate John yeoman 755389 755389 Norgate, John, of Bishop's Lenn, yeoman 3
4752251 2281127 2281127 defendant Kyppyng John yeoman 746603 746603 Kyppyng, John, of Midelton, yeoman 4
4752252 2281127 2281127 defendant Forset John yeoman 586231 586231 Forset, John, of Wygenhale, yeoman 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 7.568ms