home / cp40x

names

8 rows where case_id = 2448827

✎ 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
5312668 2448827 2448827 plaintiff Barton Thomas     Barton, Thomas 0
5312669 2448827 2448827 defendant Cokke William husbandman 867821 867821 Cokke, William, of Wyggemore, March of Wales, husbandman 0
5312670 2448827 2448827 defendant Bole Agnes widow 653684 653684 Bole, Agnes, of Shobdon, widow 1
5312671 2448827 2448827 defendant Bole Richard husbandman 653684 653684 Bole, Richard, of Shobdon, husbandman 2
5312672 2448827 2448827 defendant Bola Hugh tailor 653684 653684 Bola, Hugh, of Shobdon, tailor 3
5312673 2448827 2448827 defendant Luke Thomas husbandman 872136 872136 Luke, Thomas, of Ersope, husbandman 4
5312674 2448827 2448827 defendant Watkyns William husbandman 872136 872136 Watkyns, William, of Ersope, husbandman 5
5312675 2448827 2448827 defendant Kympowe Thomas husbandman 587494 587494 Kympowe, Thomas, of Webley, husbandman 6

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 16.453ms