home / cp40x

names

7 rows where case_id = 2433228

✎ 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
5259927 2433228 2433228 plaintiff Johnson Richard   610756 610756 Johnson, Richard, of Skreton 0
5259928 2433228 2433228 defendant Boson Thomas esq 728664 728664 Boson, Thomas, of Syreston, Notts, esq 0
5259929 2433228 2433228 defendant Thorp David yeoman 628362 628362 Thorp, David, of Elston, Notts, yeoman 1
5259930 2433228 2433228 defendant Huse Henry esq 861045 861045 Huse, Henry, of Flyntham, Notts, esq 2
5259931 2433228 2433228 defendant Durham Alice widow 586901 586901 Durham, Alice, of Nottingham, widow 3
5259932 2433228 2433228 defendant Baker Henry baker 591217 591217 Baker, Henry, of Shelford, Notts, baker 4
5259933 2433228 2433228 defendant Leke Ralph esq 601667 601667 Leke, Ralph, of Streton, Notts, esq 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 6.779ms