home / cp40x

names

6 rows where case_id = 2428461

✎ 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
5244090 2428461 2428461 plaintiff Payn John grocer 585869 585869 Payn, John, of London, grocer 0
5244091 2428461 2428461 defendant Best John merchant 585871 585871 Best, John, of Taunton, Soms, merchant 0
5244092 2428461 2428461 defendant White David merchant 786783 786783 White, David, of Hamell in the Rise, Hants, merchant 1
5244093 2428461 2428461 defendant Bagworth Robert merchant 586254 586254 Bagworth, Robert, of Southampton, merchant 2
5244094 2428461 2428461 defendant Sylvester Juliana widow 760118 760118 Sylvester, Juliana, of Wynchestre, widow 3
5244095 2428461 2428461 defendant Wolstrop William yeoman 863482 863482 Wolstrop, William, of Forthyngbrigge, Hants, 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 15.008ms