home / cp40x

names

6 rows where case_id = 2408511

✎ 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
5175451 2408511 2408511 plaintiff Spiser Thomas fishmonger 587414 587414 Spiser, Thomas, of Thetford, fishmonger 0
5175452 2408511 2408511 defendant Stanbrigge Richard skinner 585869 585869 Stanbrigge, Richard, of London, skinner 0
5175453 2408511 2408511 defendant Wolmer Alexander husbandman 624805 624805 Wolmer, Alexander, of Saham, Norf, husbandman 1
5175454 2408511 2408511 defendant Fyssher John husbandman 594580 594580 Fyssher, John, of Swafham Market, husbandman 2
5175455 2408511 2408511 defendant Turnour John husbandman 600179 600179 Turnour, John, of Hilberworth, husbandman 3
5175456 2408511 2408511 defendant Wate Simon husbandman 593003 593003 Wate, Simon, of Bodney, husbandman 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.785ms