home / cp40x

names

5 rows where place_id = 789158

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4711892 2269048 2269048 defendant Justice Henry husbandman 789158 789158 Justice, Henry, of Thornton Styward, husbandman 1
4711893 2269048 2269048 defendant Typyoig Robert, sen husbandman 789158 789158 Typyoig, Robert, sen, of Thornton Styward, husbandman 2
4743570 2278645 2278645 defendant Smelt William   789158 789158 Smelt, William, of thornton Styward, groom 0
4825784 2304099 2304099 defendant Pygot Elizabeth widow & formerly wife of John Pygot 789158 789158 Pygot, Elizabeth, of Thornton Styward, widow & formerly wife of John Pygot 0
4898613 2326210 2326210 defendant Thornton Robert yeoman 789158 789158 Thornton, Robert, of Thornton Styward, yeoman 9

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