home / cp40x

names

6 rows where case_id = 2046330

✎ 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
4060962 2046330 2046330 plaintiff Doddes William (legal representative)   Doddes, William, executrix of 0
4060963 2046330 2046330 plaintiff Doddes Katherine widow   Doddes, Katherine, widow 1
4060964 2046330 2046330 defendant Welden Edward esq 685083 685083 Welden, Edward, of Snehlye, esq 0
4060965 2046330 2046330 defendant Russell James gent 587925 587925 Russell, James, of North Mymes, gent 1
4060966 2046330 2046330 defendant Pratt William   585869 585869 Pratt, William, of London saddler 2
4060967 2046330 2046330 defendant Tendall William gent 685085 685085 Tendall, William, of Hocknold, Norf, gent 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 12.372ms