home / cp40x

names

7 rows where case_id = 2049452

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4069709 2049452 2049452 plaintiff Lucas John gent   Lucas, John, gent 0
4069710 2049452 2049452 defendant Perker Henry gent 631793 631793 Perker, Henry, of Woodford, Essex, gent 0
4069711 2049452 2049452 defendant Mamer or Mainer Thomas clothier 687080 687080 Mamer or Mainer, Thomas, of Est Bargholte, Suff, clothier 1
4069712 2049452 2049452 defendant Game or Gaine Abraham sherman 664790 664790 Game or Gaine, Abraham, of Lawford, Essex, sherman 2
4069713 2049452 2049452 defendant Hetherington John   585869 585869 Hetherington, John, of London, or of Chichester, Sussex, notary public 3
4069714 2049452 2049452 defendant Beryff William clithier 687082 687082 Beryff, William, of Mannyngtrey, Essex, clithier 4
4069715 2049452 2049452 defendant Hall Michael clothier 586402 586402 Hall, Michael, of Hadley, Suff, clothier 5

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