home / cp40x

names

6 rows where place_id = 638751

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3844584 1971844 1971844 defendant Caleys Simon yeoman 638751 638751 Caleys, Simon, of Barton, Notts, yeoman 0
4011252 2028799 2028799 defendant Bagnall Ralph gent 638751 638751 Bagnall, Ralph, of Barton, Notts, gent 0
4311360 2134118 2134118 defendant Sacheverell Henry gent 638751 638751 Sacheverell, Henry, of Barton, Notts, gent 0
4381802 2158595 2158595 defendant Ballard Thomas laborer 638751 638751 Ballard, Thomas, of Barton, Notts, laborer 0
5140087 2398199 2398199 defendant Brydd John husbandman 638751 638751 Brydd, John, of Barton, Notts, husbandman 1
5161093 2404345 2404345 defendant Brydd John husbandman 638751 638751 Brydd, John, of Barton, Notts, husbandman 1

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