home / cp40x

names

8 rows where case_id = 2452212

✎ 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
5323840 2452212 2452212 plaintiff Percyvale John gent 585869 585869 Percyvale, John, of London, gent 0
5323841 2452212 2452212 defendant Bodrugan Henry esq 719529 719529 Bodrugan, Henry, of Bodrugan, Cornw, esq 0
5323842 2452212 2452212 defendant Beamond John esq 828151 828151 Beamond, John, of Bodrugan, esq 1
5323843 2452212 2452212 defendant Tremanyon John esq 873394 873394 Tremanyon, John, of Caryhas, Cornw, esq 2
5323844 2452212 2452212 defendant Pensoun John esq 873400 873400 Pensoun, John, of Pensooun, Cornw, esq 3
5323845 2452212 2452212 defendant Godalham John esq 873401 873401 Godalham, John, of Godalham, Cornw, esq 4
5323846 2452212 2452212 defendant Moyll John esq 873397 873397 Moyll, John, of Southbake, Cornw, esq 5
5323847 2452212 2452212 defendant Dodson John gent 873402 873402 Dodson, John, of Lavithen, 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 17.739ms