home / cp40x

names

6 rows where case_id = 2432892

✎ 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
5258859 2432892 2432892 plaintiff Hauley Richard abbot of St Peter Abbey, Gloucester   Hauley, Richard, abbot of St Peter Abbey, Gloucester 0
5258860 2432892 2432892 defendant ap Thomas John gent 865206 865206 ap Thomas, John, of Gylhough, March of Wales, gent 0
5258861 2432892 2432892 defendant Lewys Thomas yeoman 588011 588011 Lewys, Thomas, of Rosse, Herefs, yeoman 1
5258862 2432892 2432892 defendant Bagge John yeoman 588373 588373 Bagge, John, of Rosse, yeoman 2
5258863 2432892 2432892 defendant Pigge Richard husbandman 865207 865207 Pigge, Richard, of Dewechurch, Herefs, husbandman 3
5258864 2432892 2432892 defendant Mathewe William husbandman 865208 865208 Mathewe, William, of Dewyswall, March of Wales, husbandman 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 11.752ms