home / cp40x

names

6 rows where case_id = 2005196

✎ 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
3944552 2005196 2005196 plaintiff Batley or Batell Thomas drover 657489 657489 Batley or Batell, Thomas, of Hansworthe, drover 0
3944553 2005196 2005196 defendant Brooke Nicholas yeoman 657490 657490 Brooke, Nicholas, of Castel Bromwyche, Warks, yeoman 0
3944554 2005196 2005196 defendant Lanye or Lavye George husbandman 657491 657491 Lanye or Lavye, George, of Farthyngstone, Nhants, husbandman 1
3944555 2005196 2005196 defendant Harnage Richard esq 657492 657492 Harnage, Richard, of Shynton, Salop, esq 2
3944556 2005196 2005196 defendant Daken Hugh drover 657493 657493 Daken, Hugh, of Asshebye da la Zouche, Leics, drover 3
3944557 2005196 2005196 defendant Broke alias Cockes Thomas butcher 586697 586697 Broke alias Cockes, Thomas, of Shrewsbury, butcher 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 6.138ms