home / cp40x

names

6 rows where case_id = 2405515

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5165035 2405515 2405515 plaintiff Banyard John esq   Banyard, John, esq 0
5165036 2405515 2405515 defendant Lampet Ralph esq 604022 604022 Lampet, Ralph, of Great Yarmouth, Norf, esq 0
5165037 2405515 2405515 defendant Thaxstere Edmund yeoman 855202 855202 Thaxstere, Edmund, of Ormesby, Norff, yeoman 1
5165038 2405515 2405515 defendant Norman Thomas merchant 585933 585933 Norman, Thomas, of Great Yarmouth, merchant 2
5165039 2405515 2405515 defendant Thaxstere John yeoman 852633 852633 Thaxstere, John, of Caister Holy Trinity, Norf, yeoman 3
5165040 2405515 2405515 defendant Greystok John yeoman 849390 849390 Greystok, John, of Loden, Norf, yeoman 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 14.648ms