home / cp40x

names

5 rows where case_id = 2125371

✎ 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
4286906 2125371 2125371 plaintiff Goodwyn Valentine     Goodwyn, Valentine 0
4286907 2125371 2125371 defendant Albert Valentine husbandman 586938 586938 Albert, Valentine, of Thornham, husbandman 0
4286908 2125371 2125371 defendant Albert Margaret widow 586938 586938 Albert, Margaret, of Thornham, widow 1
4286909 2125371 2125371 defendant Burton Thomas husbandman 586938 586938 Burton Thomas, of Thornham, husbandman 2
4286910 2125371 2125371 defendant Holdenbye John yeoman 595176 595176 Holdenbye, John, of Hunstanton, yeoman 3

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