home / cp40x

names

7 rows where case_id = 2055244

✎ 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
4085926 2055244 2055244 plaintiff Bodenham Roger esq   Bodenham, Roger, esq, executor of 0
4085927 2055244 2055244 plaintiff Bodenham Roger gent   Bodenham, Roger, gent 1
4085928 2055244 2055244 defendant Games or Gaines Thomas esq 671896 671896 Games or Gaines, Thomas, of Aberbrane, Brecon, or of Penderyn, esq 0
4085929 2055244 2055244 defendant Gwyn Rethergh esq 690625 690625 Gwyn, Rethergh, of Llanveir Brud, Carmarthen, esq 1
4085930 2055244 2055244 defendant Vaughan Watkin (legal representative) 663229 663229 Vaughan, Watkin, of Merther, gent, executors of 2
4085931 2055244 2055244 defendant Vaughan Roger gent 690627 690627 (Vaughan, Roger, of Merther, Brecon, gent 3
4085932 2055244 2055244 defendant vergh Thomas Margaret widow 663229 663229 vergh Thomas, Margaret, of Merther, widow 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 15.05ms