home / cp40x

names

6 rows where case_id = 1972828

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3847625 1972828 1972828 plaintiff Heydon John clerk   Heydon, John, clerk 0
3847626 1972828 1972828 defendant West Nicholas bishop of Ely   West, Nicholas, bishop of Ely, executors of 0
3847627 1972828 1972828 defendant Clyfton Robert clerk 585869 585869 (Clyfton, Robert, of London, clerk 1
3847628 1972828 1972828 defendant Myn or Myner Henry clerk 602670 602670 Myn or Myner, Henry, of Balsham, Cams, clerk 2
3847629 1972828 1972828 defendant Megges Thomas gent 597465 597465 Megges, Thomas, of Ely, Cams, gent 3
3847630 1972828 1972828 defendant Twyford Edward gent 596220 596220 Twyford, Edward, of Ely, gent 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 15.38ms