home / cp40x

names

8 rows where case_id = 1937143

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3734848 1937143 1937143 plaintiff Grenewey Thomas esq   Grenewey, Thomas, esq 0
3734849 1937143 1937143 plaintiff Batlot Ralph     Batlot, Ralph 1
3734850 1937143 1937143 plaintiff Harman Hugh     Harman, Hugh 2
3734851 1937143 1937143 plaintiff Sugewyk William     Sugewyk, William 3
3734852 1937143 1937143 plaintiff Basset John     Basset, John 4
3734853 1937143 1937143 defendant Lee Thomas   620287 620287 Lee, Thomas, of Brymmesgrove, Worcs, parish clerk 0
3734854 1937143 1937143 defendant Roket William husbandman 599630 599630 Roket, William, of Shenston, Staffs, husbandman 1
3734855 1937143 1937143 defendant Tomlynson John butcher 592120 592120 Tomlynson, John, of Tame, Oxon, butcher 2

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