home / cp40x

names

6 rows where case_id = 2302111

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4819285 2302111 2302111 plaintiff Pepir William skinner 585869 585869 Pepir, William, of London, skinner, on his own account 0
4819286 2302111 2302111 defendant Chaterton Henry gent 585869 585869 Chaterton, Henry, of London, gent 0
4819287 2302111 2302111 defendant Chamberleyn Robert esq 807234 807234 Chamberleyn, Robert, of Gramppont, Cornw, esq 1
4819288 2302111 2302111 defendant Hill Andrew gent 807235 807235 Hill, Andrew, of Schyllyston, Devon, gent 2
4819289 2302111 2302111 defendant Durant Thomas gent 807236 807236 Durant, Thomas, of Lawempe, Cornw, gent 3
4819290 2302111 2302111 defendant Treamboll Nicholas   819124 819124 Treamboll, Nicholas, of Treamboll, tin 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 12.512ms