home / cp40x

names

6 rows where case_id = 2247060

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4653620 2247060 2247060 plaintiff Benet Thomas     Benet, Thomas 0
4653621 2247060 2247060 defendant Halle Robert chapman 778386 778386 Halle, Robert, of Pecryste or Petryste, chapman 0
4653622 2247060 2247060 defendant Sweyn John yeoman 586966 586966 Sweyn, John, of Tunstede, yeoman 1
4653623 2247060 2247060 defendant Castel John merchant 585936 585936 Castel, John, of Norwich, merchant 2
4653624 2247060 2247060 defendant Goby Thomas yeoman 771530 771530 Goby, Thomas, of Wykylwode, yeoman 3
4653625 2247060 2247060 defendant Thorn Thomas chapman 586170 586170 Thorn, Thomas, of Tybenham, chapman 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 15.515ms