home / cp40x

names

6 rows where case_id = 2304307

✎ 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
4826444 2304307 2304307 plaintiff Wellys John     Wellys, John 0
4826445 2304307 2304307 defendant Pynder Robert butcher 780398 780398 Pynder, Robert, of Bishop's Lenn, Norf, butcher 0
4826446 2304307 2304307 defendant Glover Robert glover 585936 585936 Glover, Robert, of Norwich, glover 1
4826447 2304307 2304307 defendant Runte William roper 808509 808509 Runte, William, of Kyrstede, Norf, roper 2
4826448 2304307 2304307 defendant Baret John husbandman 808057 808057 Baret, John, of Kyrstede, husbandman 3
4826449 2304307 2304307 defendant Moket Thomas husbandman 758556 758556 Moket, Thomas, of Bishop's Leen, 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 13.244ms