home / cp40x

names

7 rows where case_id = 2010933

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3960963 2010933 2010933 plaintiff Thomas Lewis (legal representative) 650543 650543 Thomas, Lewis, of Brecknock, executors of 0
3960964 2010933 2010933 plaintiff Thomas Alice widow   (Thomas, Alice, widow 1
3960965 2010933 2010933 plaintiff Wightman William esq   Wightman, William, esq 2
3960966 2010933 2010933 defendant Bedo Owen ap Jevan gent 661503 661503 Bedo, Owen ap Jevan, of Buelth, Brecknock, gent 0
3960967 2010933 2010933 defendant Mayne Rice David esq 661504 661504 Mayne, Rice David, of Llanvaer Bryn, Carmarthen, esq 1
3960968 2010933 2010933 defendant ap Morgan Jevan yeoman 661505 661505 ap Morgan, Jevan, of Benny Baughe, Brecknock, yeoman 2
3960969 2010933 2010933 defendant Edward William gent 650543 650543 Edward, William, of Brecon, Brecknock, gent 3

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 15.581ms