home / cp40x

names

6 rows where case_id = 1994638

✎ 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
3912875 1994638 1994638 plaintiff Ayer John gent   Ayer, John, gent 0
3912876 1994638 1994638 defendant Hogekyn John clerk 642786 642786 Hogekyn, John, of Walcamstowe, Essex, clerk 0
3912877 1994638 1994638 defendant Bracy Hugh   621640 621640 Bracy, Hugh, of Walthamstowe, parish clerk 1
3912878 1994638 1994638 defendant Hall Christopher gent 585869 585869 Hall, Christopher, of London, gent 2
3912879 1994638 1994638 defendant Fletcher John innholder 650586 650586 Fletcher, John, of Waltham Cross, Herts, innholder 3
3912880 1994638 1994638 defendant Tayler Robert   585869 585869 Tayler, Robert, of London, yeoman, sergeant at mace 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.051ms