home / cp40x

names

5 rows where case_id = 2166877

✎ 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
4406913 2166877 2166877 plaintiff Shuckforth John     Shuckforth, John 0
4406914 2166877 2166877 defendant Eldred William butcher 646229 646229 Eldred, William, of Kenynghall, butcher 0
4406915 2166877 2166877 defendant Briant Richard husbandman 588844 588844 Briant, Richard, of Banham, husbandman 1
4406916 2166877 2166877 defendant Payne John husbandman 587418 587418 Payne, John, of Dysse, husbandman 2
4406917 2166877 2166877 defendant Sturton Elizabeth widow 718204 718204 Sturton, Elizabeth, of East Harlinge, widow 3

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