home / cp40x

names

6 rows where case_id = 2255943

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4668772 2255943 2255943 plaintiff Bercroft Robert     Bercroft, Robert 0
4668773 2255943 2255943 defendant Coke John   780609 780609 Coke, John, of Newerk, coke 0
4668774 2255943 2255943 defendant Gybbe Richard shipman 587948 587948 Gybbe, Richard, of Newerk, shipman 1
4668775 2255943 2255943 defendant Doket John weaver 586778 586778 Doket, John, of Byngham, weaver 2
4668776 2255943 2255943 defendant Barton John de, senior summoner 780610 780610 Barton, John de, senior, of Loughtteburth or Loughborough, Leics, summoner 3
4668777 2255943 2255943 defendant Barton John de, junior husbandman 780610 780610 Barton, John de, junior, of Loughtteburth or Loughborough, Leics, 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.804ms