home / cp40x

names

6 rows where case_id = 2436673

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5271201 2436673 2436673 plaintiff Gay Thomas tailor 585869 585869 Gay, Thomas, of London, tailor 0
5271202 2436673 2436673 defendant Bodrugan Henry esq 719529 719529 Bodrugan, Henry, of Bodrugan, Cornw, esq 0
5271203 2436673 2436673 defendant Harecourt Christopher esq 866760 866760 Harecourt, Christopher, of Combe, Oxon, esq 1
5271204 2436673 2436673 defendant Chaderton Henry esq 857202 857202 Chaderton, Henry, of Jermyns, Essex, esq 2
5271205 2436673 2436673 defendant Lethum Robert gent 866761 866761 Lethum, Robert, of St Andrew's outside the Bars of the Old Temple, gent 3
5271206 2436673 2436673 defendant Clyfton Gervase   585869 585869 Clyfton, Gervase, of London, knight 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.465ms