home / cp40x

names

9 rows where case_id = 2315797

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4864252 2315797 2315797 plaintiff Fenys Roger knight   Fenys, Roger, knight 0
4864253 2315797 2315797 defendant Fagham John, junior laborer 586994 586994 Fagham, John, junior, of Haylesham, laborer 0
4864254 2315797 2315797 defendant Hokeby John laborer 586994 586994 Hokeby, John, of Haylesham, laborer 1
4864255 2315797 2315797 defendant Chilly John laborer 586994 586994 Chilly, John, of Haylesham, laborer 2
4864256 2315797 2315797 defendant Adam Richard laborer 628156 628156 Adam, Richard, of Herstmounceux, laborer 3
4864257 2315797 2315797 defendant Pull Thomas husbandman 628156 628156 Pull, Thomas, of Herstmounceux, husbandman 4
4864258 2315797 2315797 defendant Wanmer or Waumer William laborer 628156 628156 Wanmer or Waumer, William, of Herstmounceux, laborer 5
4864259 2315797 2315797 defendant Chilly William laborer 586994 586994 Chilly, William, of Haylesham, laborer 6
4864260 2315797 2315797 defendant Norton Henry laborer 591037 591037 Norton, Henry, of Westham, laborer 7

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