home / cp40x

names

5 rows where case_id = 2256691

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4671352 2256691 2256691 plaintiff (not given) William bishop of Carlisle or Karlio   Carlisle or Karlio, William, bishop of 0
4671353 2256691 2256691 defendant Louther Guy de clerk 781135 781135 Louther, Guy de, of Bolton, diocese of Carlisle, Cumberland, clerk 0
4671354 2256691 2256691 defendant Rurgheon Thomas de esq 780875 780875 Rurgheon, Thomas de, of Penreth, Cumb, esq 1
4671355 2256691 2256691 defendant Arlosshe John yeoman 593911 593911 Arlosshe, John, of Penreth, yeoman 2
4671356 2256691 2256691 defendant Atkynson Thomas draper 593911 593911 Atkynson, Thomas, of Penreth, draper 3

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