home / cp40x

names

8 rows where place_id = 615642

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3709975 1929430 1929430 defendant Maynard John husbandman 615642 615642 Maynard, John, of Mychelney, husbandman 4
3909637 1993530 1993530 defendant Locke Thomas clerk 615642 615642 Locke, Thomas, of Mychelney, clerk 1
3953602 2008336 2008336 defendant Thomas John butcher 615642 615642 Thomas, John, of Mychelney, butcher 0
3966697 2012988 2012988 defendant Chapell John yeoman 615642 615642 Chapell, John, of Mychelney, yeoman 0
4033864 2036763 2036763 defendant Vincent John yeoman 615642 615642 Vincent, John, of Mychelney, yeoman 0
4119728 2067345 2067345 defendant Pryge John yeoman 615642 615642 Pryge, John, of Mychelney, yeoman 1
4142825 2075665 2075665 defendant Prige John yeoman 615642 615642 Prige, John, of Mychelney, yeoman 0
4243374 2110775 2110775 defendant Cley Thomas, junior   615642 615642 Cley, Thomas, junior, of Mychelney, butcher, his brother 1

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.065ms