home / cp40x

names

8 rows where case_id = 2351794

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4982891 2351794 2351794 plaintiff Uffenham John     Uffenham, John 0
4982892 2351794 2351794 defendant Elys Thomas husbandman 769887 769887 Elys, Thomas, of Quydhampton, husbandman 0
4982893 2351794 2351794 defendant Payn Robert husbandman 772619 772619 Payn, Robert, of Stratton St Margaret, husbandman 1
4982894 2351794 2351794 defendant Belle Robert husbandman 830425 830425 Belle, Robert, of Whitparyssh, husbandman 2
4982895 2351794 2351794 defendant Golle John butcher 595766 595766 Golle, John, of Chalke, butcher 3
4982896 2351794 2351794 defendant Clerk John husbandman 592967 592967 Clerk, John, of Chitterne, husbandman 4
4982897 2351794 2351794 defendant Couper John   595766 595766 Couper, John, of Chalke, bailiff 5
4982898 2351794 2351794 defendant Lyme John   590357 590357 Lyme, John, of Wilton, linen weaver 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.147ms