home / cp40x

names

7 rows where case_id = 1971102

✎ 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
3842177 1971102 1971102 plaintiff Braughyng Richard     Braughyng, Richard 0
3842178 1971102 1971102 defendant Buk Robert   590794 590794 Buk, Robert, of Stondon, parish clerk 0
3842179 1971102 1971102 defendant Lyndesey Thomas husbandman 590794 590794 Lyndesey, Thomas, of Stondon, husbandman 1
3842180 1971102 1971102 defendant Jersey John maltman 638386 638386 Jersey, John, of Wygfryth, Stondon, maltman 2
3842181 1971102 1971102 defendant Lamkyn John yeoman 638387 638387 Lamkyn, John, of St Nedys, Hunts, yeoman 3
3842182 1971102 1971102 defendant Danyell Robert (legal representative)   Danyell, Robert, executor of 4
3842183 1971102 1971102 defendant Danyell John husbandman 590794 590794 Danyell, John, of Stondon, 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 15.6ms