home / cp40x

names

6 rows where case_id = 2535801

✎ 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
5602920 2535801 2535801 plaintiff Netheway William     Netheway, William 0
5602921 2535801 2535801 defendant Cornyssh David husbandman 585962 585962 Cornyssh, David, of Comewyche, husbandman 0
5602922 2535801 2535801 defendant Towell John chaplain 586368 586368 Towell, John, of Taunton, chaplain 1
5602923 2535801 2535801 defendant Sawcell John husbandman 586111 586111 Sawcell, John, of Lamport, husbandman 2
5602924 2535801 2535801 defendant Elford John husbandman 904873 904873 Elford, John, of Drayton juxta Lamport, husbandman 3
5602925 2535801 2535801 defendant Ball William weaver 586368 586368 Ball, William, of Taunton, weaver 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 8.173ms