home / cp40x

names

6 rows where case_id = 2428527

✎ 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
5244338 2428527 2428527 plaintiff Pere William     Pere, William 0
5244339 2428527 2428527 defendant Ayssheby Thomas dyer 599651 599651 Ayssheby, Thomas, of Notyngham, dyer 0
5244340 2428527 2428527 defendant Annes or Aimes Richard husbandman 820844 820844 Annes or Aimes, Richard, of Bondon, Leics, husbandman 1
5244341 2428527 2428527 defendant Baker John chaplain 586117 586117 Baker, John, of Coventry, chaplain 2
5244342 2428527 2428527 defendant Ayssheby William painter 590605 590605 Ayssheby, William, of Burton on Trent, Staffs, painter 3
5244343 2428527 2428527 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.212ms