home / cp40x

names

6 rows where case_id = 1875061

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3624076 1875061 1875061 plaintiff Straunge Roger esq, sheriff of Suff   Straunge, Roger, esq, sheriff of Suff 0
3624077 1875061 1875061 defendant Johnson William husbandman 596295 596295 Johnson, William, of Gosbek, husbandman 0
3624078 1875061 1875061 defendant Lenesson or Levesson William yeoman 596296 596296 Lenesson or Levesson, William, of Henyngston, yeoman 1
3624079 1875061 1875061 defendant Style Thomas yeoman 596296 596296 Style, Thomas, of Henyngston, yeoman 2
3624080 1875061 1875061 defendant Style John, senior yeoman 596296 596296 Style, John, senior, of Henyngston, yeoman 3
3624081 1875061 1875061 defendant Garnon John yeoman 596297 596297 Garnon, John, of Bosbak, yeoman 4

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