home / cp40x

names

8 rows where case_id = 2395481

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5130740 2395481 2395481 plaintiff fitz Harry Thomas esq   fitz Harry, Thomas, esq on his own account 0
5130741 2395481 2395481 defendant Mortymer Richard clerk 608637 608637 Mortymer, Richard, of Bromyard, clerk 0
5130742 2395481 2395481 defendant Mortymer John gent 603728 603728 Mortymer, John, of Bromyord, gent 1
5130743 2395481 2395481 defendant Daykyn John yeoman 850327 850327 Daykyn, John, of Tedutarn Wafre or Tedstone Wafer, yeoman 2
5130744 2395481 2395481 defendant Robyns Roger husbandman 850328 850328 Robyns, Roger, of Stone Acton, Shrops, husbandman 3
5130745 2395481 2395481 defendant Moreley William yeoman 850329 850329 Moreley, William, of Walsappe Thorne, yeoman 4
5130746 2395481 2395481 defendant ap John Morris yeoman 656352 656352 ap John, Morris, of Wodebury, yeoman 5
5130747 2395481 2395481 defendant Wylleys John yeoman 827514 827514 Wylleys, John, of Dynmore, yeoman 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 13.877ms