home / cp40x

names

6 rows where place_id = 656471

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3940387 2003804 2003804 defendant Bett William, senior husbandman 656471 656471 Bett, William, senior, of Castle Assheby, husbandman 0
3940388 2003804 2003804 defendant Bett William, junior   656471 656471 Bett, William, junior, of Castle Assheby 1
3940389 2003804 2003804 defendant Walker Henry husbandman 656471 656471 Walker, Henry, of Castle Assheby, husbandman 2
4719734 2271521 2271521 defendant Hull John husbandman 656471 656471 Hull, John, of Castle Assheby, husbandman 0
4756981 2282553 2282553 defendant Bocher Thomas butcher 656471 656471 Bocher, Thomas, of Castle Assheby, butcher 1
4914316 2330991 2330991 defendant Wolaston John chaplain 656471 656471 Wolaston, John, of Castle Assheby, 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 13.688ms