home / cp40x

names

8 rows where case_id = 2429477

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5247678 2429477 2429477 plaintiff Stafford Humphrey Duke of Buckingham   Stafford, Humphrey, Duke of Buckingham, executors of 0
5247679 2429477 2429477 plaintiff Bourchier Thomas Archbishop of Canterbury   (Bourchier, Thomas, Archbishop of Canterbury 1
5247680 2429477 2429477 plaintiff Stafford Anne Duchess of Buckingham   Stafford, Anne, Duchess of Buckingham 2
5247681 2429477 2429477 defendant Rutter William husbandman 863895 863895 Rutter, William, of Nowenham, husbandman 0
5247682 2429477 2429477 defendant Horseman William husbandman 606457 606457 Horseman, William, of Thorndon, husbandman 1
5247683 2429477 2429477 defendant Powes William butcher 636762 636762 Powes, William, of Stretford on Aven, butcher 2
5247684 2429477 2429477 defendant Jokyns John miller 636762 636762 Jokyns, John, of Stretford on Aven, miller 3
5247685 2429477 2429477 defendant Trappe Thomas butcher 861455 861455 Trappe, Thomas, of Aston Cantelowe, butcher 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 15.518ms