home / cp40x

names

6 rows where case_id = 2512799

✎ 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
5526276 2512799 2512799 plaintiff Horne John esq   Horne, John, esq 0
5526277 2512799 2512799 defendant Grynlyng Richard husbandman 588969 588969 Grynlyng, Richard, of Blyforth, husbandman 0
5526278 2512799 2512799 defendant Skete Richard husbandman 895956 895956 Skete, Richard, of Henham, Wangford, husbandman 1
5526279 2512799 2512799 defendant Glener or Glever William mariner 589067 589067 Glener or Glever, William, of Walberswyke, mariner 2
5526280 2512799 2512799 defendant Fedyll John butcher 588286 588286 Fedyll, John, of Northalys, butcher 3
5526281 2512799 2512799 defendant Boldon John mariner 586638 586638 Boldon, John, of Southwold, mariner 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.384ms