home / cp40x

names

5 rows where case_id = 2069647

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename

id ▼ case_id role surname forename occupation place_id raw_segment seq
4126158 2069647 2069647 defendant Stater Thomas husbandman 586397 586397 Stater, Thomas, of Morton, son of John Stater, of Baston in Kesteven, husbandman 0
4126159 2069647 2069647 defendant Ringer William blacksmith 607930 607930 Ringer, William, of Tydd st Mary, yeoman, or of Tydde St Giles, Cams, blacksmith 1
4126160 2069647 2069647 defendant Richard Thomas yeoman 631693 631693 Richard, Thomas, of Dunnyngton, yeoman 2
4126161 2069647 2069647 defendant Preston William (legal representative)   Preston, William, executrix of 3
4126162 2069647 2069647 defendant Preston Elizabeth widow 606762 606762 Preston, Elizabeth, of Baston, widow 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 12.434ms