home / cp40x

names

7 rows where case_id = 2432378

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5257169 2432378 2432378 plaintiff Fenne Hugh gent   Fenne, Hugh, gent 0
5257170 2432378 2432378 defendant Cokeshale William yeoman 588149 588149 Cokeshale, William, of Clare, Suff, yeoman 0
5257171 2432378 2432378 defendant Denys John esq 612566 612566 Denys, John, of Bedyngton, Surrey, esq 1
5257172 2432378 2432378 defendant Bere Thomas gent 865029 865029 Bere, Thomas, of Brynne, Cornw, gent 2
5257173 2432378 2432378 defendant Laweshill William gent 861386 861386 Laweshill, William, of Magna Stanbrigge, Essex, gent 3
5257174 2432378 2432378 defendant Leweston Philip administrators of   Leweston, Philip, administrators of 4
5257175 2432378 2432378 defendant Baret William gent 828458 828458 (Baret, William, of Wymbeldon, Surrey, 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 11.32ms