home / cp40x

names

6 rows where case_id = 2363582

✎ 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
5022802 2363582 2363582 plaintiff Grey John grocer 585869 585869 Grey, John, of London, grocer 0
5022803 2363582 2363582 defendant Crakebon Mathew dyer 588457 588457 Crakebon, Mathew, of Thaxsted, Essex, dyer 0
5022804 2363582 2363582 defendant Soule or Sonle Richard dyer 825108 825108 Soule or Sonle, Richard, of Petyrburgh, Nhants, dyer 1
5022805 2363582 2363582 defendant Beaufo Thomas mercer 615389 615389 Beaufo, Thomas, of Hycchyn, Herts, mercer 2
5022806 2363582 2363582 defendant Peyto John dyer 595686 595686 Peyto, John, of Neuport Paynell, Bucks, dyer 3
5022807 2363582 2363582 defendant Kyng John goldsmith 597465 597465 Kyng, John, of Ely, Cams, goldsmith 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 5.827ms