home / cp40x

names

6 rows where case_id = 2391309

✎ 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
5116669 2391309 2391309 plaintiff Parker Thomas   586117 586117 Parker, Thomas, of Coventry 0
5116670 2391309 2391309 defendant Harper William chapman 848288 848288 Harper, William, of Hynley, Staffs, chapman 0
5116671 2391309 2391309 defendant Desford o Defford William chapman 848289 848289 Desford o Defford, William, of Sterebrigge, Worcs, chapman 1
5116672 2391309 2391309 defendant Milward Richard chapman 634868 634868 Milward, Richard, of Clareley, Salop, chapman 2
5116673 2391309 2391309 defendant Atkyn Richard yeoman 586122 586122 Atkyn, Richard, of Dudley, Worcs, yeoman 3
5116674 2391309 2391309 defendant Milne William yeoman 848290 848290 Milne, William, of Mornesall, Derbs, yeoman 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 13.24ms