home / cp40x

names

5 rows where case_id = 2141329

✎ 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
4333019 2141329 2141329 plaintiff Spylman Clement esq   Spylman, Clement, esq 0
4333020 2141329 2141329 defendant Williamson William husbandman 592744 592744 Williamson, William, of Narborowe, husbandman 0
4333021 2141329 2141329 defendant Sucklyn John gent 585936 585936 Sucklyn, John, of Norwich, gent 1
4333022 2141329 2141329 defendant Ellingham William husbandman 605070 605070 Ellingham, William, of Shipdham, husbandman 2
4333023 2141329 2141329 defendant Rawlyn Timothy   592744 592744 Rawlyn, Timothy, of Narborowe yeoman 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 21.458ms