home / cp40x

names

7 rows where case_id = 2247203

✎ 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
4654226 2247203 2247203 plaintiff Bleche William roper 587948 587948 Bleche, William, of Newerk, roper 0
4654227 2247203 2247203 defendant Baxter Adam baker 587948 587948 Baxter, Adam, of Newerk, baker 0
4654228 2247203 2247203 defendant Turnour John baker 587948 587948 Turnour, John, of Newerk, baker 1
4654229 2247203 2247203 defendant Miryeld John husbandman 778461 778461 Miryeld, John, of Stoke juxta Thorp, husbandman 2
4654230 2247203 2247203 defendant Barker John barker 767791 767791 Barker, John, of Papulwyk, barker 3
4654231 2247203 2247203 defendant Dornethorp Thomas husbandman 778462 778462 Dornethorp, Thomas, of Northgate, Newerk, husbandman 4
4654232 2247203 2247203 defendant Cony Thomas butcher 586778 586778 Cony, Thomas, of Byngham, butcher 5

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