home / cp40x

names

7 rows where case_id = 2005197

✎ 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
3944558 2005197 2005197 plaintiff Batley Thomas drover 636060 636060 Batley, Thomas, of Honesworth, yeoman, alias Thomas Bartlett, of New Yen, or of Shinton, Salop, drover 0
3944559 2005197 2005197 defendant Royle or Ryley Nicholas yeoman 590061 590061 Royle or Ryley, Nicholas, of Barton under Nedewood, yeoman 0
3944560 2005197 2005197 defendant Gowburne or Golburne William yeoman 657496 657496 Gowburne or Golburne, William, of Kenston, Salop, yeoman 1
3944561 2005197 2005197 defendant Turner Humphrey drover 628167 628167 Turner, Humphrey, of Blymhyll, yeoman, or of Heyghe Hall, drover 2
3944562 2005197 2005197 defendant Waynwryght Richard yeoman or drover 588127 588127 Waynwryght, Richard, of Wolverhampton, yeoman or drover 3
3944563 2005197 2005197 defendant Wyrley John   657498 657498 Wyrley, John, of Hannysworth, yeoman, administrators of 4
3944564 2005197 2005197 defendant Byrche William     (Byrche, William 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 14.019ms