home / cp40x

names

6 rows where case_id = 2289662

✎ 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
4779755 2289662 2289662 plaintiff (not given)   prior of Bridlyngton Priory   Bridlyngton Priory, prior of 0
4779756 2289662 2289662 defendant Barden John yeoman 589315 589315 Barden, John, of Catton, yeoman 0
4779757 2289662 2289662 defendant Bolton John husbandman 767972 767972 Bolton, John, of Skyrne, husbandman 1
4779758 2289662 2289662 defendant Marsshall John husbandman 589315 589315 Marsshall, John, of Catton, husbandman 2
4779759 2289662 2289662 defendant Clerk William husbandman 614481 614481 Clerk, William, of Bossall, husbandman 3
4779760 2289662 2289662 defendant Smyth Thomas husbandman 801355 801355 Smyth, Thomas, of Attyngwyk, 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 7.386ms