home / cp40x

names

6 rows where place_id = 674002

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4012264 2029107 2029107 plaintiff Pye Robert   674002 674002 Pye, Robert, of Peasenhall 0
4012266 2029108 2029108 plaintiff Pye Robert   674002 674002 Pye, Robert, of Peasenhall 0
4104948 2062046 2062046 defendant Gawrard Robert yeoman 674002 674002 Gawrard, Robert, of Peasenhall, yeoman 0
4215532 2100929 2100929 defendant Nutfeild Thomas mercer 674002 674002 Nutfeild, Thomas, of Peasenhall, mercer 1
4263860 2117571 2117571 defendant Burter John butcher 674002 674002 Burter, John, of Peasenhall, butcher 3
4335699 2142217 2142217 defendant Longe William blacksmith 674002 674002 Longe, William, of Peasenhall, blacksmith 1

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