home / cp40x

names

6 rows where case_id = 1990993

✎ 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
3902263 1990993 1990993 plaintiff Downyng George     Downyng, George 0
3902264 1990993 1990993 defendant Walles William brickmaker 601019 601019 Walles, William, of Heryngflete, brickmaker 0
3902265 1990993 1990993 defendant Derik alias Symond Richard miller 596298 596298 Derik alias Symond, Richard, of Beccles, miller 1
3902266 1990993 1990993 defendant Laurence Richard yeoman 596298 596298 Laurence, Richard, of Beccles, yeoman 2
3902267 1990993 1990993 defendant Davy Nicholas, junior husbandman 600139 600139 Davy, Nicholas, junior, of Toft Monks, husbandman 3
3902268 1990993 1990993 defendant Wrentham William, junior husbandman 586781 586781 Wrentham, William, junior, of Corton, 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 14.107ms