home / cp40x

names

9 rows where case_id = 2007027

✎ 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
3949856 2007027 2007027 plaintiff Fenton John draper 658801 658801 Fenton, John, of Newcastyll under Lyme, draper 0
3949857 2007027 2007027 defendant Staunford Edward gent 609498 609498 Staunford, Edward, of Rowley, gent 0
3949858 2007027 2007027 defendant Baddeley John laborer 658802 658802 Baddeley, John, of Glanwey, laborer 1
3949859 2007027 2007027 defendant Dymmoke James butcher 588371 588371 Dymmoke, James, of Stone, butcher 2
3949860 2007027 2007027 defendant Parker John husbandman 657413 657413 Parker, John, of Awdeley, husbandman 3
3949861 2007027 2007027 defendant Taylor Richard husbandman 610305 610305 Taylor, Richard, of Talke, husbandman 4
3949862 2007027 2007027 defendant Thykens John yeoman 633498 633498 Thykens, John, of Betley, yeoman 5
3949863 2007027 2007027 defendant Cowper Robert husbandman 618528 618528 Cowper, Robert, of Swynnerton, husbandman 6
3949864 2007027 2007027 defendant Webbe Ralph tailor 596697 596697 Webbe, Ralph, of Wrynehyll, tailor 7

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