home / cp40x

names

6 rows where case_id = 2040692

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4045071 2040692 2040692 plaintiff Rose John merchant 585869 585869 Rose, John, of London, currier, or of Bruges, Flanders beyond the sea, merchant 0
4045072 2040692 2040692 defendant Smalbone Richard glover 681469 681469 Smalbone, Richard, of Dayntre or Daventry, Nhants, glover 0
4045073 2040692 2040692 defendant Bagshawe John yeoman 604469 604469 Bagshawe, John, of Daventry, yeoman 1
4045074 2040692 2040692 defendant Ellett Lawrence yeoman 596109 596109 Ellett, Lawrence, of Stowe, Nhants, yeoman 2
4045075 2040692 2040692 defendant Metford Oswald merchant 586836 586836 Metford, Oswald, of Newcastle on Tyne, merchant 3
4045076 2040692 2040692 defendant Brigham Christopher merchant 586836 586836 Brigham, Christopher, of Newcastle on Tyne, merchant 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 15.384ms