home / cp40x

names

8 rows where case_id = 2331055

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4914501 2331055 2331055 plaintiff Cumberworth Thomas knight   Cumberworth, Thomas, knight 0
4914502 2331055 2331055 defendant Neucome John husbandman 590189 590189 Neucome, John, of Melton Rose, husbandman 0
4914503 2331055 2331055 defendant Pacok William husbandman 590189 590189 Pacok, William, of Melton Rose, husbandman 1
4914504 2331055 2331055 defendant Clerk Richard husbandman 590189 590189 Clerk, Richard, of Melton Rose, husbandman 2
4914505 2331055 2331055 defendant Clerk John husbandman 640779 640779 Clerk, John, of Brumby, husbandman 3
4914506 2331055 2331055 defendant Richard of Bayton by Wythern parson   Richard, of Bayton by Wythern, parson 4
4914507 2331055 2331055 defendant Wartre William husbandman 767904 767904 Wartre, William, of Barnetby, husbandman 5
4914508 2331055 2331055 defendant Gournay Thomas husbandman 590189 590189 Gournay, Thomas, of Melton Rose,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 13.874ms