home / cp40x

names

8 rows where place_id = 601803

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3647084 1909480 1909480 defendant Cowper John mercer 601803 601803 Cowper, John, of Stamforde, Lincs, mercer 0
3722824 1933406 1933406 defendant Hogeson alias Draper Richard draper 601803 601803 Hogeson alias Draper, Richard, of Stamforde, Lincs, draper 1
3929094 2000071 2000071 defendant Oldenall John   601803 601803 Oldenall, John, of Stamforde, Lincs, inn holder 1
3954230 2008554 2008554 defendant Gregory Henry yeoman 601803 601803 Gregory, Henry, of Stamforde, Lincs, yeoman 1
4012327 2029130 2029130 defendant Tomson William vintner 601803 601803 Tomson, William, of Stamforde, Lincs, vintner 0
4097033 2059262 2059262 defendant Colsell William   601803 601803 Colsell, William, of Stamforde, Lincs, medicus or doctor 0
4215076 2100774 2100774 defendant Barrowe Hugh pewterer 601803 601803 Barrowe, Hugh, of Stamforde, Lincs, pewterer 1
4410202 2168014 2168014 defendant Revell Robert yeoman 601803 601803 Revell, Robert, of Stamforde, Lincs, yeoman 0

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.659ms