home / cp40x

names

6 rows where case_id = 1957431

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3798495 1957431 1957431 plaintiff Hedworth Ralph clerk   Hedworth, Ralph, clerk 0
3798496 1957431 1957431 defendant Spencer John husbandman 599941 599941 Spencer, John, of Kegworth, husbandman 0
3798497 1957431 1957431 defendant Shakyspeyr William husbandman 616290 616290 Shakyspeyr, William, of Walton on the Wold, husbandman 1
3798498 1957431 1957431 defendant Wodehowse John yeoman 599941 599941 Wodehowse, John, of Kegworth, yeoman 2
3798499 1957431 1957431 defendant Parys Thomas (legal representative) 599941 599941 Parys, Thomas, of Kegworth, executrix of 3
3798500 1957431 1957431 defendant Pares Joyce widow 599941 599941 Pares, Joyce, of Kegworth, 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 14.522ms