home / cp40x

names

6 rows where case_id = 2166006

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4404286 2166006 2166006 plaintiff Pudsey William esq   Pudsey, William, esq 0
4404287 2166006 2166006 defendant Tayler John husbandman 751968 751968 Tayler, John, of Grindleton, husbandman 0
4404288 2166006 2166006 defendant Cayley Richard husbandman 751969 751969 Cayley, Richard, of Newynge, husbandman 1
4404289 2166006 2166006 defendant Peell Henry yeoman 600493 600493 Peell, Henry, of Bolton, yeoman 2
4404290 2166006 2166006 defendant Ketham alias Key   yeoman 749369 749369 Ketham alias Key, , of Rymyngton, yeoman 3
4404291 2166006 2166006 defendant Lotham Isabel widow 749369 749369 Lotham, Isabel, of Rymyngton, widow 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 10.091ms