home / cp40x

names

6 rows where case_id = 2428524

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5244324 2428524 2428524 plaintiff Pere William     Pere, William 0
5244325 2428524 2428524 defendant Ayssheby Thomas deyster 599651 599651 Ayssheby, Thomas, of Notyngham, deyster 0
5244326 2428524 2428524 defendant Aimes Richard husbandman 820844 820844 Aimes, Richard, of Bondon, Leics, husbandman 1
5244327 2428524 2428524 defendant Baker John chaplain 586117 586117 Baker, John, of Coventry, chaplain 2
5244328 2428524 2428524 defendant Ayssheby William painter 590605 590605 Ayssheby, William, of Burton on Trent, Staffs, painter 3
5244329 2428524 2428524 defendant Bamborowe William cooper 586117 586117 Bamborowe, William, of Coventry, cooper 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.648ms