home / cp40x

names

7 rows where case_id = 2430502

✎ 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
5251274 2430502 2430502 plaintiff Wyntyr Edmund     Wyntyr, Edmund 0
5251275 2430502 2430502 defendant Strout William fuller 599776 599776 Strout, William, of Shotley, fuller 0
5251276 2430502 2430502 defendant Strout Thomas fuller 820894 820894 Strout, Thomas, of Shotle, fuller 1
5251277 2430502 2430502 defendant Caly William yeoman 768274 768274 Caly, William, of Badewell Asshefeld, yeoman 2
5251278 2430502 2430502 defendant Sergeant John yeoman 768274 768274 Sergeant, John, of Badewell Asshefeld, yeoman 3
5251279 2430502 2430502 defendant Reynold Alexander yeoman 828302 828302 Reynold, Alexander, of Haston juxta Perham, yeoman 4
5251280 2430502 2430502 defendant Masselyn John yeoman 588103 588103 Masselyn, John, of Bentley, yeoman 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 15.064ms