home / cp40x

names

5 rows where place_id = 597891

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3630260 1904313 1904313 defendant Love Richard yeoman 597891 597891 Love, Richard, of Lytylport, Cams, yeoman 0
3636061 1906071 1906071 defendant Love Richard husbandman 597891 597891 Love, Richard, of Lytylport, Cams, husbandman 1
3636086 1906077 1906077 defendant Love or Lone Richard husbandman 597891 597891 Love or Lone, Richard, of Lytylport, Cams, husbandman 0
3692031 1923676 1923676 defendant Keyle Richard yeoman 597891 597891 Keyle, Richard, of Lytylport, Cams, yeoman 0
3710504 1929607 1929607 defendant Porter Clement yeoman 597891 597891 Porter, Clement, of Lytylport, Cams, yeoman 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 11.957ms