home / cp40x

names

6 rows where case_id = 1969372

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3836678 1969372 1969372 plaintiff Rowe Robert merchant tailor 585869 585869 Rowe, Robert, of London, merchant tailor 0
3836679 1969372 1969372 defendant Talmache Lionel esq 637466 637466 Talmache, Lionel, of Helyngham, Suff, esq 0
3836680 1969372 1969372 defendant Alyngton Peter   637467 637467 Alyngton, Peter, of London, curate of St Nicholas of the Shambles 1
3836681 1969372 1969372 defendant Hayward John yeoman 637468 637468 Hayward, John, of Town Mallyng, Kent, yeoman 2
3836682 1969372 1969372 defendant Davy Henry yeoman 586958 586958 Davy, Henry, of Gloucester, yeoman 3
3836683 1969372 1969372 defendant Brysset John chaplain 637469 637469 Brysset, John, of Brandeston, Norf, chaplain 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 16.135ms