home / cp40x

names

7 rows where case_id = 2303670

✎ 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
4824318 2303670 2303670 plaintiff Tame John     Tame, John 0
4824319 2303670 2303670 defendant Calne Thomas husbandman 599858 599858 Calne, Thomas, of Chedworth, husbandman 0
4824320 2303670 2303670 defendant Pavy Thomas husbandman 609540 609540 Pavy, Thomas, of Fayreford, husbandman 1
4824321 2303670 2303670 defendant Baron Walter husbandman 603346 603346 Baron, Walter, of Latton, Wilts, husbandman 2
4824322 2303670 2303670 defendant Sprot John tanner 636826 636826 Sprot, John, of Wotton Basset, Wilts, tanner 3
4824323 2303670 2303670 defendant Tallour Roger tailor 765375 765375 Tallour, Roger, of Letchelade, Gloucs, tailor 4
4824324 2303670 2303670 defendant atte Chambre Thomas yeoman 808141 808141 atte Chambre, Thomas, of Mynstre, Oxon, 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 13.396ms