home / cp40x

names

6 rows where case_id = 1939198

✎ 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
3741460 1939198 1939198 plaintiff Spyrtyll John     Spyrtyll, John 0
3741461 1939198 1939198 defendant Seynt John Thomas merchant 621447 621447 Seynt John, Thomas, of Weysford, merchant 0
3741462 1939198 1939198 defendant Hychyn John husbandman 592868 592868 Hychyn, John, of Mertok, husbandman 1
3741463 1939198 1939198 defendant Querke Robert merchant 597086 597086 Querke, Robert, of Mynhed, merchant 2
3741464 1939198 1939198 defendant Calde Gibon merchant 597086 597086 Calde, Gibon, of Mynhed, merchant 3
3741465 1939198 1939198 defendant Adam Margaret widow 586833 586833 Adam, Margaret, of South Brent, widow 4

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