home / cp40x

names

7 rows where case_id = 2132051

✎ 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
4305462 2132051 2132051 plaintiff Lane Thomas executrix of (legal representative)   Lane, Thomas executrix of 0
4305463 2132051 2132051 plaintiff Lane Margaret widow   Lane, Margaret, widow 1
4305464 2132051 2132051 defendant Pryce George gent 649053 649053 Pryce, George, of Machen, Monmouth, or of Ridquerne, Glamorgan, gent 0
4305465 2132051 2132051 defendant Peasse George yeoman 646831 646831 Peasse, George, of Stratford le Bowe, Middx, yeoman 1
4305466 2132051 2132051 defendant Pierson Thomas husbandman 589715 589715 Pierson, Thomas, of Chesthunt, Herts, husbandman 2
4305467 2132051 2132051 defendant Morgan William (legal representative) 733619 733619 Morgan, William, of Querne Cleppa, Monmouth, gent, administrator of 3
4305468 2132051 2132051 defendant Morgan Roland gent 733620 733620 Morgan, Roland, of Querne Cleppa, gent 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.164ms