home / cp40x

names

7 rows where case_id = 2450679

✎ 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
5318671 2450679 2450679 plaintiff Grey Thomas (legal representative) 669776 669776 Grey, Thomas, of Langeport, executors of 0
5318672 2450679 2450679 plaintiff Wodehele Thomas     (Wodehele, Thomas 1
5318673 2450679 2450679 plaintiff Brent William     Brent, William 2
5318674 2450679 2450679 defendant Frye William (legal representative) 588135 588135 Frye, William, of Somerton, husbandman, executors of 0
5318675 2450679 2450679 defendant Frye Agnes widow 637629 637629 (Frye, Agnes, of Crukerne, widow 1
5318676 2450679 2450679 defendant Frye John chaplain 637629 637629 Frye, John, of Crukerne, chaplain 2
5318677 2450679 2450679 defendant Pope William husbandman 620270 620270 Pope, William, of Honyton, Devon, husbandman 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 23.475ms