home / cp40x

names

8 rows where case_id = 2419495

✎ 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
5212820 2419495 2419495 plaintiff Beckington Thomas Bishop of Bath and Wells   Beckington, Thomas, Bishop of Bath and Wells 0
5212821 2419495 2419495 defendant Ede John chaplain 610923 610923 Ede, John, of Battecombe, chaplain 0
5212822 2419495 2419495 defendant Role Thomas laborer 610923 610923 Role, Thomas, of Battecombe, laborer 1
5212823 2419495 2419495 defendant Amys Henry butcher 859902 859902 Amys, Henry, of Aysshecombe, Battecombe, butcher 2
5212824 2419495 2419495 defendant Stovy Thomas laborer 859903 859903 Stovy, Thomas, of Upton Nobyll, Battecombe, laborer 3
5212825 2419495 2419495 defendant Gifford Richard laborer 859903 859903 Gifford, Richard, of Upton Nobyll, Battecombe, laborer 4
5212826 2419495 2419495 defendant Cattecote John laborer 610923 610923 Cattecote, John, of Battecombe, laborer 5
5212827 2419495 2419495 defendant Stovy or Stoby John husbandman 607156 607156 Stovy or Stoby, John, of Bruham, 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 13.919ms