home / cp40x

names

6 rows where case_id = 2139676

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4327965 2139676 2139676 plaintiff Griffin Edward     Griffin, Edward 0
4327966 2139676 2139676 defendant Morris Richard gent 585869 585869 Morris, Richard, of London, or of Shipston on Stower, Worcs, gent 0
4327967 2139676 2139676 defendant Cholmeley Richard gent 727636 727636 Cholmeley, Richard, of Rippley, Worcs, gent 1
4327968 2139676 2139676 defendant Brace Roger gent 585869 585869 Brace, Roger, of London, or of Suckley, Worcs, gent 2
4327969 2139676 2139676 defendant Russell John (legal representative) 663223 663223 Russell, John, of Strensham, Worcs, knight, executor of 3
4327970 2139676 2139676 defendant Coles Edmund esq 738031 738031 Coles, Edmund, of Leighe, Worcs, esq 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.575ms