home / cp40x

names

7 rows where case_id = 2378526

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5073386 2378526 2378526 plaintiff Vernon Richard knigtht   Vernon, Richard, knigtht, executors of 0
5073387 2378526 2378526 plaintiff Vernon John esq   (Vernon, John, esq 1
5073388 2378526 2378526 plaintiff Broun john     Broun, john 2
5073389 2378526 2378526 defendant Legh Robert esq 843186 843186 Legh, Robert, of Alyngton, Cheshire, esq 0
5073390 2378526 2378526 defendant Shakersley John gent 843187 843187 Shakersley, John, of Parva Longesdon, Derbs, gent 1
5073391 2378526 2378526 defendant Clayton William gent 843188 843188 Clayton, William, of Bowdon, Derbs, gent 2
5073392 2378526 2378526 defendant Kyrke Hugh yeoman 605527 605527 Kyrke, Hugh, of Bowdon, yeoman 3

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