home / cp40x

names

7 rows where case_id = 1974729

✎ 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
3853529 1974729 1974729 plaintiff Sotheby John     Sotheby, John 0
3853530 1974729 1974729 defendant Kangbern Richard husbandman 640157 640157 Kangbern, Richard, of Skernne, husbandman 0
3853531 1974729 1974729 defendant Barehed Christopher husbandman 640158 640158 Barehed, Christopher, of Tylthorp, husbandman 1
3853532 1974729 1974729 defendant Wood William clerk 628015 628015 Wood, William, of Gaston, clerk 2
3853533 1974729 1974729 defendant Langbar Margaret widow 640157 640157 Langbar, Margaret, of Skernne, widow 3
3853534 1974729 1974729 defendant Hardy Brian husbandman 628015 628015 Hardy, Brian, of Gaston, husbandman 4
3853535 1974729 1974729 defendant Redman William smith 628015 628015 Redman, William, of Gaston, smith 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 20.6ms