home / cp40x

names

7 rows where case_id = 2491358

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5454793 2491358 2491358 plaintiff Baly John   585936 585936 Baly, John, of Norwich, bell founder 0
5454794 2491358 2491358 defendant Spachet Henry yeoman 691697 691697 Spachet, Henry, of Cokeley, Suff, yeoman 0
5454795 2491358 2491358 defendant Bedyngfeld Thomas husbandman 588133 588133 Bedyngfeld, Thomas, of Cokeley, husbandman 1
5454796 2491358 2491358 defendant Sparke William husbandman 588133 588133 Sparke, William, of Cokeley, husbandman 2
5454797 2491358 2491358 defendant Chamberleyn William husbandman 588133 588133 Chamberleyn, William, of Cokeley, husbandman 3
5454798 2491358 2491358 defendant Wode John butcher 588133 588133 Wode, John, of Cokeley, butcher 4
5454799 2491358 2491358 defendant Burgharde William husbandman 588133 588133 Burgharde, William, of Cokeley, husbandman 5

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