home / cp40x

names

6 rows where place_id = 588278

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3593956 1865747 1865747 defendant Hore James miller 588278 588278 Hore, James, of Dunketon, miller 0
4668115 2255735 2255735 defendant Palmere John husbandman 588278 588278 Palmere, John, of Dunketon, husbandman 0
4884185 2321961 2321961 defendant Hovell or Houell William gent 588278 588278 Hovell or Houell, William, of Dunketon, gent 0
4884186 2321961 2321961 defendant Horsebere William husbandman 588278 588278 Horsebere, William, of Dunketon, husbandman 1
5036670 2367595 2367595 defendant Horsbere William husbandman 588278 588278 Horsbere, William, of Dunketon, husbandman 0
5066542 2376517 2376517 defendant Dummer Robert gent 588278 588278 Dummer, Robert, of Dunketon, gent 0

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.783ms