home / cp40x

names

8 rows where case_id = 1987246

✎ 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
3890975 1987246 1987246 plaintiff Jobber Francis     Jobber, Francis 0
3890976 1987246 1987246 defendant Robynson Robert capper 587516 587516 Robynson, Robert, of Stafford, capper 0
3890977 1987246 1987246 defendant Wythenton Thomas laborer 646458 646458 Wythenton, Thomas, of Magna Chatwall, laborer 1
3890978 1987246 1987246 defendant Wythenton John laborer 646458 646458 Wythenton, John, of Magna Chatwall, laborer 2
3890979 1987246 1987246 defendant Key Ralph laborer 587516 587516 Key, Ralph, of Stafford, laborer 3
3890980 1987246 1987246 defendant Merwycke Robert laborer 587516 587516 Merwycke, Robert, of Stafford, laborer 4
3890981 1987246 1987246 defendant Hytchecokkys John yeoman 608821 608821 Hytchecokkys, John, of Ecclessall, yeoman 5
3890982 1987246 1987246 defendant Broke John yeoman 646459 646459 Broke, John, of Brokhurst, yeoman 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 7.485ms