home / cp40x

names

5 rows where case_id = 1905739

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3634981 1905739 1905739 plaintiff Newton Richard clerk   Newton, Richard, clerk, administrator of 0
3634982 1905739 1905739 plaintiff Fuller William     Fuller, William 1
3634983 1905739 1905739 defendant Stephyns William, senior (legal representative) 585949 585949 Stephyns, William, senior, of Magna Wakeryng, yeoman, administratrix of 0
3634984 1905739 1905739 defendant Stephyns Alice widow 585949 585949 Stephyns, Alice, of Magna Wakeryng, widow 1
3634985 1905739 1905739 defendant Stephyns William, junior husbandman 585949 585949 Stephyns, William, junior, of Magna Wakeryng, husbandman 2

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