home / cp40x

names

5 rows where case_id = 2421229

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5218815 2421229 2421229 plaintiff Grys or Erys Thomas     Grys or Erys, Thomas 0
5218816 2421229 2421229 defendant Bacon Richard gent 608645 608645 Bacon, Richard, of Dekylburgh, gent 0
5218817 2421229 2421229 defendant Mannyng William reeder 657845 657845 Mannyng, William, of West Wynch, reeder 1
5218818 2421229 2421229 defendant Nicholas John yeoman 657845 657845 Nicholas, John, of West Wynch, yeoman 2
5218819 2421229 2421229 defendant Lond William husbandman 860586 860586 Lond, William, of Sholdhamthorp, husbandman 3

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