home / cp40x

names

6 rows where case_id = 2017263

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3979058 2017263 2017263 plaintiff Munford or Mundford William, senior (legal representative) 665958 665958 Munford or Mundford, William, senior, of Cley next Sea, administratrix of 0
3979059 2017263 2017263 plaintiff Munford Joan widow   Munford, Joan, widow 1
3979060 2017263 2017263 defendant Yonge William (legal representative)   Yonge, William, executor of John Yonge, executor of Thomas Locksmyth, of Letheringsett, Norf, husbandman, executors of 0
3979061 2017263 2017263 defendant Walpole Richard gent 665959 665959 (Walpole, Richard, of Drye Dockinge, Norf, gent 1
3979062 2017263 2017263 defendant Johnson Henry grocer 638344 638344 Johnson, Henry, of Aylsham, Norf, grocer 2
3979063 2017263 2017263 defendant Dalmont Thomas yeoman 591274 591274 Dalmont, Thomas, of New Walsyngham, Norf, yeoman 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 14.612ms