home / cp40x

names

6 rows where case_id = 1993474

✎ 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
3909484 1993474 1993474 plaintiff Smyth John     Smyth, John 0
3909485 1993474 1993474 defendant Hacon John husbandman 647973 647973 Hacon, John, of Parham Hacheston, husbandman 0
3909486 1993474 1993474 defendant Palmer Robert husbandman 646071 646071 Palmer, Robert, of Howseley, husbandman 1
3909487 1993474 1993474 defendant Lusse Henry husbandman 588489 588489 Lusse, Henry, of Melton, husbandman 2
3909488 1993474 1993474 defendant Kyng John husbandman 649960 649960 Kyng, John, of Culphoo, husbandman 3
3909489 1993474 1993474 defendant Newsham John roper 632086 632086 Newsham, John, of Woodbredge, roper 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 10.036ms