home / cp40x

names

6 rows where case_id = 1986561

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3888995 1986561 1986561 plaintiff Frankeleyn Stephen     Frankeleyn, Stephen 0
3888996 1986561 1986561 defendant Ongley Thomas butcher 595775 595775 Ongley, Thomas, of Hedcron, butcher 0
3888997 1986561 1986561 defendant Pett Hugh clothman 585864 585864 Pett, Hugh, of Cranebroke, clothman 1
3888998 1986561 1986561 defendant Lane James husbandman 586461 586461 Lane, James, of Mepeham, husbandman 2
3888999 1986561 1986561 defendant Coppyng Robert tailor 586756 586756 Coppyng, Robert, of Boughton Monchelsey, tailor 3
3889000 1986561 1986561 defendant Hopkyn Thomas laborer 586756 586756 Hopkyn, Thomas, of Boughton Monchelsey, laborer 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 15.232ms