home / cp40x

names

7 rows where case_id = 2019287

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3984701 2019287 2019287 plaintiff Thomas Morgan merchant 667321 667321 Thomas, Morgan, of Nevarne, merchant 0
3984702 2019287 2019287 defendant Meyrick John clerk 667322 667322 Meyrick, John, of Nevarne, Pembroke, clerk 0
3984703 2019287 2019287 defendant ap Elyssa Lewis yeoman 667323 667323 ap Elyssa, Lewis, of Newporte, Pembroke, yeoman 1
3984704 2019287 2019287 defendant Thomas John ap Res yeoman 624561 624561 Thomas, John ap Res, of Newporte, yeoman 2
3984705 2019287 2019287 defendant Lewes Hugh gent 667324 667324 Lewes, Hugh, of Neverne, gent 3
3984706 2019287 2019287 defendant Lewes Mary widow 667321 667321 Mary his wife, alias Mary Phelipes, of Nevarne, widow 4
3984707 2019287 2019287 defendant ap Rytherche alias Vachan Richard gent 667325 667325 ap Rytherche alias Vachan, Richard, of Treyordan, or of Moelgroves, Pembroke, gent 5

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.811ms