home / cp40x

names

6 rows where case_id = 2056047

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4088125 2056047 2056047 plaintiff Calmady Richard gent, attorney of the bench   Calmady, Richard, gent, attorney of the bench 0
4088126 2056047 2056047 defendant Peryman Gilbert gent 605929 605929 Peryman, Gilbert, of Basingstoke, Hants, gent 0
4088127 2056047 2056047 defendant Coscarne or Cosgarve John (legal representative) 652194 652194 Coscarne or Cosgarve, John, of Ladock, gent, administrator of 1
4088128 2056047 2056047 defendant Cosgarne or Cosgarve John gent 690597 690597 Cosgarne or Cosgarve, John, of Ladocke, Cornw, gent 2
4088129 2056047 2056047 defendant Randall John (legal representative)   Randall, John, executors of 3
4088130 2056047 2056047 defendant Gey Walter husbandman 662733 662733 (Gey, Walter, of South Moulton, Devon, husbandman 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 13.166ms