home / cp40x

names

10 rows where case_id = 2517971

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5543130 2517971 2517971 plaintiff Ormond John esq   Ormond, John, esq 0
5543131 2517971 2517971 defendant Foldys Robert laborer 898263 898263 Foldys, Robert, of Heyhegge, laborer 0
5543132 2517971 2517971 defendant Godenogh Richard laborer 593783 593783 Godenogh, Richard, of Matlok, laborer 1
5543133 2517971 2517971 defendant Dirley Richard laborer 597093 597093 Dirley, Richard, of Wyrkesworth, laborer 2
5543134 2517971 2517971 defendant Adam Edward husbandman 591263 591263 Adam, Edward, of Cromford, husbandman 3
5543135 2517971 2517971 defendant Brewode Thomas laborer 593783 593783 Brewode, Thomas, of Matlok, laborer 4
5543136 2517971 2517971 defendant Burton Richard laborer 609329 609329 Burton, Richard, of Bonsall, laborer 5
5543137 2517971 2517971 defendant Spencer William laborer 610621 610621 Spencer, William, of Cryche, laborer 6
5543138 2517971 2517971 defendant Nicholas Richard laborer 593783 593783 Nicholas, Richard, of Matlok, laborer 7
5543139 2517971 2517971 defendant Spencer John laborer 599473 599473 Spencer, John, of Medylton, laborer 8

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