home / cp40x

names

9 rows where case_id = 2389355

✎ 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
5110011 2389355 2389355 plaintiff Grayson William abbot of Kirkestall Abbey   Grayson, William, abbot of Kirkestall Abbey 0
5110012 2389355 2389355 defendant Tempest John   815056 815056 Tempest, John, of Brasewell, knight 0
5110013 2389355 2389355 defendant Teler John chaplain 815056 815056 Teler, John, of Brasewell, chaplain 1
5110014 2389355 2389355 defendant Toller Peter clerk 815056 815056 Toller, Peter, of Brasewell, clerk 2
5110015 2389355 2389355 defendant Westby Thomas yeoman 815056 815056 Westby, Thomas, of Brasewell, yeoman 3
5110016 2389355 2389355 defendant Whallay Richard yeoman 815056 815056 Whallay, Richard, of Brasewell, yeoman 4
5110017 2389355 2389355 defendant Wadyngton William clerk 838013 838013 Wadyngton, William, of Thorneton in Craven, clerk 5
5110018 2389355 2389355 defendant Wadyngton Thomas yeoman 838013 838013 Wadyngton, Thomas, of Thorneton in Craven, yeoman 6
5110019 2389355 2389355 defendant Watson Robert yeoman 838013 838013 Watson, Robert, of Thorneton in Craven, yeoman 7

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 6.164ms