home / cp40x

names

8 rows where case_id = 2452210

✎ 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
5323824 2452210 2452210 plaintiff Percyvale John gent 585869 585869 Percyvale, John, of London, gent 0
5323825 2452210 2452210 defendant Bodrugan Henry esq 719529 719529 Bodrugan, Henry, of Bodrugan, Cornw, esq 0
5323826 2452210 2452210 defendant Beamond John   828151 828151 Beamond, John, of Bodrugan esq 1
5323827 2452210 2452210 defendant Trevanyon John esq 873394 873394 Trevanyon, John, of Caryhas, Cornw, esq 2
5323828 2452210 2452210 defendant Pensoun John esq 873395 873395 Pensoun, John, of Pefoun, Cornw, esq 3
5323829 2452210 2452210 defendant Godalhan John esq 873396 873396 Godalhan, John, of Godalhan, Cornw, esq 4
5323830 2452210 2452210 defendant Moyll John esq 873397 873397 Moyll, John, of Southbake, Cornw, esq 5
5323831 2452210 2452210 defendant Dodson John gent 873398 873398 Dodson, John, of la Ucthen, Cornw, gent 6

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 14.14ms