home / cp40x

names

5 rows where case_id = 1949670

✎ 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
3774260 1949670 1949670 plaintiff Arnold William     Arnold, William 0
3774261 1949670 1949670 defendant Horne Thomas clerk 627115 627115 Horne, Thomas, of Danbury, Essex, clerk 0
3774262 1949670 1949670 defendant Egerton Richard laborer 591656 591656 Egerton, Richard, of Walcote, laborer 1
3774263 1949670 1949670 defendant Adams Simon laborer 627116 627116 Adams, Simon, of Gymmynghale, laborer 2
3774264 1949670 1949670 defendant Wolsey Thomas husbandman 610205 610205 Wolsey, Thomas, of Twayte, husbandman 3

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