home / cp40x

names

7 rows where case_id = 2055005

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4085232 2055005 2055005 plaintiff Belt Leonard attorney of the bench   Belt, Leonard, attorney of the bench 0
4085233 2055005 2055005 defendant Morley Richard gent 662862 662862 Morley, Richard, of Danbye, gent 0
4085234 2055005 2055005 defendant Yowerde Thomas gent 690490 690490 Yowerde, Thomas, of Nonthorpe, gent 1
4085235 2055005 2055005 defendant Taylbys Ralph esq 665556 665556 Taylbys, Ralph, of Thorneton, Durham, esq 2
4085236 2055005 2055005 defendant Pacocke Gregory merchant 690491 690491 Pacocke, Gregory, of Scardebroughe, merchant 3
4085237 2055005 2055005 defendant Overend John yeoman 690492 690492 Overend, John, of Over Bentham, yeoman 4
4085238 2055005 2055005 defendant Lemynge Robert gent 604512 604512 Lemynge, Robert, of Wighton, gent 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 12.732ms