home / cp40x

names

6 rows where case_id = 1998252

✎ 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
3923755 1998252 1998252 plaintiff Stevens Thomas     Stevens, Thomas 0
3923756 1998252 1998252 defendant Bone alias Bowne Henry husbandman 648248 648248 Bone alias Bowne, Henry, of Othery, husbandman 0
3923757 1998252 1998252 defendant Hyckys alias Rundell William butcher 652451 652451 Hyckys alias Rundell, William, of Gregorystoke, butcher 1
3923758 1998252 1998252 defendant Golford John husbandman 652452 652452 Golford, John, of Brompfyld, husbandman 2
3923759 1998252 1998252 defendant Hynborough John   597397 597397 Hynborough, John, of Bradford juxta Taunton 3
3923760 1998252 1998252 defendant Stone Thomas tucker 586368 586368 Stone, Thomas, of Taunton, tucker 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 16.773ms