home / cp40x

names

7 rows where case_id = 2367292

✎ 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
5035685 2367292 2367292 plaintiff Togod William clerk 587004 587004 Togod, William, of Preston, clerk 0
5035686 2367292 2367292 defendant Reve Lawrence husbandman 587004 587004 Reve, Lawrence, of Preston, husbandman 0
5035687 2367292 2367292 defendant Kynge Stephen husbandman 691539 691539 Kynge, Stephen, of Godyngton, Oxon, husbandman 1
5035688 2367292 2367292 defendant Hopkyns John husbandman 587004 587004 Hopkyns, John, of Preston, husbandman 2
5035689 2367292 2367292 defendant Bachon Thomas clerk 675468 675468 Bachon, Thomas, of Thrapston, Nhants, clerk 3
5035690 2367292 2367292 defendant Hertwell John husbandman 619287 619287 Hertwell, John, of North Merston, husbandman 4
5035691 2367292 2367292 defendant Shepherd John husbandman 587357 587357 Shepherd, John, of Hogston, husbandman 5

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