home / cp40x

names

6 rows where case_id = 1980783

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3871730 1980783 1980783 plaintiff Baker William     Baker, William 0
3871731 1980783 1980783 defendant Warde John yeoman 643110 643110 Warde, John, of Newtowne juxta Baschurche, yeoman 0
3871732 1980783 1980783 defendant Gardyner Richard husbandman 643111 643111 Gardyner, Richard, of Baschurche, husbandman 1
3871733 1980783 1980783 defendant Gyles John husbandman 643112 643112 Gyles, John, of Stanwardyn in the Woode, husbandman 2
3871734 1980783 1980783 defendant Thomas John husbandman 643113 643113 Thomas, John, of Merton juxta Middle, husbandman 3
3871735 1980783 1980783 defendant Dekyn Roger husbandman 592999 592999 Dekyn, Roger, of Merton, husbandman 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.548ms