home / cp40x

names

6 rows where case_id = 2343389

✎ 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
4954786 2343389 2343389 plaintiff Stone William     Stone, William 0
4954787 2343389 2343389 defendant Ichyngton Benedict laborer 713738 713738 Ichyngton, Benedict, of Berkeswell, laborer 0
4954788 2343389 2343389 defendant Fyppe Thomas husbandman 587236 587236 Fyppe, Thomas, of Daventry, Nhants, husbandman 1
4954789 2343389 2343389 defendant Meryhurst William cordwainer 622995 622995 Meryhurst, William, of Dudley, Staffs, cordwainer 2
4954790 2343389 2343389 defendant Lenche William husbandman 628860 628860 Lenche, William, of Dudston, husbandman 3
4954791 2343389 2343389 defendant Bynley William butcher 586117 586117 Bynley, William, of Coventry, butcher 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 14.555ms