home / cp40x

names

6 rows where case_id = 2311480

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4850055 2311480 2311480 plaintiff Swale John     Swale, John 0
4850056 2311480 2311480 defendant Thorp Denis yeoman 812466 812466 Thorp, Denis, of Thorp in Craven, yeoman 0
4850057 2311480 2311480 defendant Boynby Adam husbandman 591949 591949 Boynby, Adam, of Thorp, husbandman 1
4850058 2311480 2311480 defendant Raner William husbandman 591949 591949 Raner, William, of Thorp, husbandman 2
4850059 2311480 2311480 defendant Hunt Henry husbandman 591949 591949 Hunt, Henry, of Thorp, husbandman 3
4850060 2311480 2311480 defendant Bland John husbandman 591949 591949 Bland, John, of Thorp, husbandman 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.052ms