home / cp40x

names

7 rows where case_id = 2350586

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4978717 2350586 2350586 plaintiff Roynon or Reynon William     Roynon or Reynon, William 0
4978718 2350586 2350586 defendant Carter Nicholas husbandman 829877 829877 Carter, Nicholas, of Silchestre, husbandman 0
4978719 2350586 2350586 defendant Carter William   699597 699597 Carter, William, of Pamber, groom 1
4978720 2350586 2350586 defendant Pety Henry husbandman 620753 620753 Pety, Henry, of Tadley, husbandman 2
4978721 2350586 2350586 defendant White John husbandman 634025 634025 White, John, of Sylchester, husbandman 3
4978722 2350586 2350586 defendant atte Yate John husbandman 826656 826656 atte Yate, John, of Stratford Subcastle, Wilts, husbandman 4
4978723 2350586 2350586 defendant Rogers Robert husbandman 829879 829879 Rogers, Robert, of Suth Brent, Soms, husbandman 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 13.782ms