home / cp40x

names

9 rows where case_id = 2016419

✎ 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
3976703 2016419 2016419 plaintiff Kyme William gent 585869 585869 Kyme, William, of London, gent 0
3976704 2016419 2016419 defendant Page Richard gent 585869 585869 Page, Richard, of London, gent 0
3976705 2016419 2016419 defendant Layton or Leyghton William skinner 585869 585869 Layton or Leyghton, William, of London, skinner 1
3976706 2016419 2016419 defendant Charnock William gent 585869 585869 Charnock, William, of London, gent 2
3976707 2016419 2016419 defendant Carleton Robert yeoman 640548 640548 Carleton, Robert, of Frampton, Lincs, yeoman 3
3976708 2016419 2016419 defendant Waller John, junior yeoman 665390 665390 Waller, John, junior, of Bewbusshe, Seale, Sussex, yeoman 4
3976709 2016419 2016419 defendant Blackborne Thomas gent 665391 665391 Blackborne, Thomas, of Hundelby, Lincs, gent 5
3976710 2016419 2016419 defendant Hennage John gent 603513 603513 Hennage, John, of Kyrkby, Lincs, gent 6
3976711 2016419 2016419 defendant Hawes Richard draper 585869 585869 Hawes, Richard, of London, draper 7

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