home / cp40x

names

7 rows where case_id = 2498505

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5478190 2498505 2498505 plaintiff Baylly John (legal representative) 585925 585925 Baylly, John, of Bristol, merchant, executors of 0
5478191 2498505 2498505 plaintiff Hondesley John     (Hondesley, John 1
5478192 2498505 2498505 defendant Style John Frome Selwode, slothmaker   Style, John, Frome Selwode, slothmaker, executors of 0
5478193 2498505 2498505 defendant Wyncot Robert draper 610372 610372 (Wyncot, Robert, of Frome Selwode, Soms, draper 1
5478194 2498505 2498505 defendant Stephens Thomas merchant 587990 587990 Stephens, Thomas, of Ludlowe, Salop, merchant 2
5478195 2498505 2498505 defendant Hakket Richard   820568 820568 Hakket, Richard, of Portebury, Soms, holy water clerk 3
5478196 2498505 2498505 defendant Artour John esq 614926 614926 Artour, John, of Clopton, Soms, esq 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 17.796ms