home / cp40x

names

6 rows where case_id = 1942750

✎ 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
3752620 1942750 1942750 plaintiff Reve Thomas     Reve, Thomas 0
3752621 1942750 1942750 defendant Saye John husbandman 623466 623466 Saye, John, of Saxlyngham, Norf, husbandman 0
3752622 1942750 1942750 defendant Curteys Henry thatcher 623467 623467 Curteys, Henry, of Wacton, Norf, thatcher 1
3752623 1942750 1942750 defendant Cokerell alias Godfrey William husbandman 590775 590775 Cokerell alias Godfrey, William, of Lopham, Norf, husbandman 2
3752624 1942750 1942750 defendant Sharpe Robert husbandman 622649 622649 Sharpe, Robert, of South Walsham, Norf, husbandman 3
3752625 1942750 1942750 defendant Bokenham Robert husbandman 623468 623468 Bokenham, Robert, of Heryngby, Norf, husbandman 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.661ms