home / cp40x

names

7 rows where case_id = 2105656

✎ 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
4229083 2105656 2105656 plaintiff Pelham Judith widow   Pelham, Judith, widow 0
4229084 2105656 2105656 plaintiff Lunsford John esq   Lunsford, John, esq 1
4229085 2105656 2105656 defendant White Adam gent 585869 585869 White, Adam, of London, gent 0
4229086 2105656 2105656 defendant Isley Henry esq 585869 585869 together with Isley, Henry, of London, esq 1
4229087 2105656 2105656 defendant Chatfield Stephen clerk 679964 679964 Chatfield, Stephen, of Eastborne, clerk 2
4229088 2105656 2105656 defendant Vernon Richard clerk 679964 679964 Vernon, Richard, of Eastborne, clerk 3
4229089 2105656 2105656 defendant Payne James, junior yeoman 679964 679964 Payne, James, junior, of Eastborne, yeoman 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 15.949ms