home / cp40x

names

5 rows where place_id = 594031

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3614250 1872123 1872123 defendant Galon William yeoman 594031 594031 Galon, William, of Benyngham, yeoman 2
3782817 1952374 1952374 defendant Bydde William husbandman 594031 594031 Bydde, William, of Benyngham, husbandman 0
3880451 1983718 1983718 defendant Ansley George yeoman 594031 594031 Ansley, George, of Benyngham, yeoman 0
4791750 2293517 2293517 defendant Lyon Adam butcher 594031 594031 Lyon, Adam, of Benyngham, butcher 0
5307017 2447097 2447097 defendant Miller John chaplain 594031 594031 Miller, John, of Benyngham, chaplain 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 7.207ms