home / cp40x

names

8 rows where case_id = 2367293

✎ 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
5035692 2367293 2367293 plaintiff Togod William clerk 587004 587004 Togod, William, of Preston, clerk 0
5035693 2367293 2367293 defendant Robyns Richard shoemaker 591319 591319 Robyns, Richard, of Wynslowe, shoemaker 0
5035694 2367293 2367293 defendant Reve Lawrence husbandman 587004 587004 together with Reve, Lawrence, of Preston, husbandman 1
5035695 2367293 2367293 defendant Kynge Stephen husbandman 691539 691539 Kynge, Stephen, of Godyngton, Oxon, husbandman 2
5035696 2367293 2367293 defendant Hopkyns John husbandman 587004 587004 Hopkyns, John, of Preston, husbandman 3
5035697 2367293 2367293 defendant Bachon Thomas clerk 675468 675468 Bachon, Thomas, of Thrapston, Nhants, clerk 4
5035698 2367293 2367293 defendant Hertwell John husbandman 619287 619287 Hertwell, John, of North Merston, husbandman 5
5035699 2367293 2367293 defendant Shepherd John husbandman 587357 587357 Shepherd, John, of Hogston, husbandman 6

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