home / cp40x

names

6 rows where case_id = 2030175

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4015321 2030175 2030175 plaintiff Smyth John (legal representative) 643121 643121 Smyth, John, of Woodbridge, draper, executor of 0
4015322 2030175 2030175 plaintiff Smythe William merchant 656930 656930 Smythe, William, of Woodbrydge, Suff, merchant 1
4015323 2030175 2030175 defendant Swynborne Henry innholder 674720 674720 Swynborne, Henry, of Haldey, Suff, innholder 0
4015324 2030175 2030175 defendant Flyck Robert merchant 670935 670935 Flyck, Robert, of Walberswyck, Suff, merchant 1
4015325 2030175 2030175 defendant Woder Robert clothier 592475 592475 Woder, Robert, of Lavenham, Suff, clothier 2
4015326 2030175 2030175 defendant Tepinge John husbandman 651993 651993 Tepinge, John, of Stovyn, Suff, husbandman 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 12.779ms