home / cp40x

names

8 rows where case_id = 2257648

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4674553 2257648 2257648 plaintiff Dynham John knight   Dynham, John, knight 0
4674554 2257648 2257648 defendant Rondel William husbandman 779408 779408 Rondel, William, of Hertylond, husbandman 0
4674555 2257648 2257648 defendant Belamy Thomas husbandman 773451 773451 Belamy, Thomas, of Bradeworthy, husbandman 1
4674556 2257648 2257648 defendant Bagehole John husbandman 781824 781824 Bagehole, John, of Hertylond or Hartland, husbandman 2
4674557 2257648 2257648 defendant Holman John husbandman 590345 590345 Holman, John, of Hole, husbandman 3
4674558 2257648 2257648 defendant Clyve Nicholas husbandman 778682 778682 Clyve, Nicholas, of Milleford, husbandman 4
4674559 2257648 2257648 defendant Cole John husbandman 778682 778682 Cole, John, of Milleford, husbandman 5
4674560 2257648 2257648 defendant Dogeton John husbandman 779408 779408 Dogeton, John, of Hertylond, husbandman 6

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