home / cp40x

names

8 rows where case_id = 2452211

✎ 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
5323832 2452211 2452211 plaintiff Percyvale John gent 585869 585869 Percyvale, John, of London, gent 0
5323833 2452211 2452211 defendant Bodrugan Henry esq 719529 719529 Bodrugan, Henry, of Bodrugan, Cornw, esq 0
5323834 2452211 2452211 defendant Beamond John   828151 828151 Beamond, John, of Bodrugan esq 1
5323835 2452211 2452211 defendant Trevanyon John esq 873394 873394 Trevanyon, John, of Caryhas, Cornw, esq 2
5323836 2452211 2452211 defendant Pensoun John esq 873395 873395 Pensoun, John, of Pefoun, Cornw, esq 3
5323837 2452211 2452211 defendant Godalhan John esq 873396 873396 Godalhan, John, of Godalhan, Cornw, esq 4
5323838 2452211 2452211 defendant Moyll John esq 873397 873397 Moyll, John, of Southbake, Cornw, esq 5
5323839 2452211 2452211 defendant Dodson John gent 873399 873399 Dodson, John, of la Vythen, 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 16.17ms