home / cp40x

names

6 rows where case_id = 1928078

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3705743 1928078 1928078 plaintiff Hawkyns Richard     Hawkyns, Richard 0
3705744 1928078 1928078 defendant Sutton Edward Lord Dudley, of London, knight   Sutton, Edward, Lord Dudley, of London, knight 0
3705745 1928078 1928078 defendant Appulton Roger gent 614828 614828 Appulton, Roger, of South Bemsett, Essex, gent 1
3705746 1928078 1928078 defendant Gabbett or Gallett John chaplain 614829 614829 Gabbett or Gallett, John, of Buttysbury, Essex, chaplain 2
3705747 1928078 1928078 defendant Brande Roger yeoman 590212 590212 Brande, Roger, of Dertford, Kent, yeoman 3
3705748 1928078 1928078 defendant Brande John draper 588665 588665 Brande, John, of Dartford, draper 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 17.071ms