home / cp40x

names

4 rows where case_id = 1903150

✎ 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
3626531 1903150 1903150 plaintiff Baker John     Baker, John 0
3626532 1903150 1903150 defendant Dey Richard husbandman 596888 596888 Dey, Richard, of Henny, husbandman 0
3626533 1903150 1903150 defendant Syday John (legal representative) 618957 618957 Syday, John, of Alphamston, husbandman, administrator of 1
3626534 1903150 1903150 defendant Potter William husbandman 596890 596890 Potter, William, of White Colne, husbandman 2

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.892ms