home / cp40x

names

6 rows where case_id = 1875607

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3625798 1875607 1875607 plaintiff Yonge William knight   Yonge, William, knight 0
3625799 1875607 1875607 defendant Baxster Roger yeoman 585970 585970 Baxster, Roger, of Oxford, yeoman 0
3625800 1875607 1875607 defendant Walle Robert weaver 594086 594086 Walle, Robert, of Wolverhampton, Staffs, weaver 1
3625801 1875607 1875607 defendant Alyn John clerk 596083 596083 Alyn, John, of Ditton, clerk 2
3625802 1875607 1875607 defendant Maddokes John husbandman 596693 596693 Maddokes, John, of Wenne, husbandman 3
3625803 1875607 1875607 defendant Redvey Owen Wolverhampton, merchant   Redvey, Owen, Wolverhampton, merchant 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 8.998ms