home / cp40x

names

7 rows where case_id = 2003342

✎ 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
3938881 2003342 2003342 plaintiff Richardson George   585869 585869 Richardson, George, of London, draper, administrators of 0
3938882 2003342 2003342 plaintiff Ballarde Robert     (Ballarde, Robert 1
3938883 2003342 2003342 plaintiff Ballarde Anne formerly wife of George   Anne, his wife, formerly wife of George 2
3938884 2003342 2003342 defendant Peck John draper 656114 656114 Peck, John, of Trumpyngton, Cambs, draper 0
3938885 2003342 2003342 defendant Ayde Robert draper 656115 656115 Ayde, Robert, of Loddonne, Norf, draper 1
3938886 2003342 2003342 defendant Garratt John draper 591567 591567 Garratt, John, of Wynchelsey, Sussex, draper 2
3938887 2003342 2003342 defendant Fyssher John yeoman 656116 656116 Fyssher, John, of Mortlacke, Surr, yeoman 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 14.66ms