home / cp40x

names

7 rows where case_id = 1925252

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3696898 1925252 1925252 plaintiff Smyth John (legal representative) 594535 594535 Smyth, John, of hechen, mercer, executors of 0
3696899 1925252 1925252 plaintiff Smyth Alice widow   (Smyth, Alice, widow 1
3696900 1925252 1925252 plaintiff Smyth John     Smyth, John 2
3696901 1925252 1925252 defendant Lensted Thomas husbandman 613153 613153 Lensted, Thomas, of Cokyn Hatley, Cams, husbandman 0
3696902 1925252 1925252 defendant Andrewe John maltman 613154 613154 Andrewe, John, of Parva Mundon, maltman 1
3696903 1925252 1925252 defendant Walsshe Gilbert husbandman 601524 601524 Walsshe, Gilbert, of Pyrton, husbandman 2
3696904 1925252 1925252 defendant Audeley Thomas   594655 594655 Audeley, Thomas, of Houghton Conquest, Beds. 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 15.484ms