home / cp40x

names

8 rows where case_id = 2439550

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5281110 2439550 2439550 plaintiff (not given) John abbot of Coggeshale Abbey   Coggeshale Abbey, John, abbot of 0
5281111 2439550 2439550 defendant Darcy John esq 649470 649470 Darcy, John, of Tolleshunt Darcy, esq 0
5281112 2439550 2439550 defendant Gogh John chaplain 843164 843164 Gogh, John, of Tolleshunt Tregos, chaplain 1
5281113 2439550 2439550 defendant Fryth William yeoman 649470 649470 Fryth, William, of Tolleshunt Darcy, yeoman 2
5281114 2439550 2439550 defendant Baker John laborer 843164 843164 Baker, John, of Tolleshunt Tregos, laborer 3
5281115 2439550 2439550 defendant Langbroke Richard   868184 868184 Langbroke, Richard, of Tolleshunt Tregos, husbandmn 4
5281116 2439550 2439550 defendant Aleyn William laborer 843164 843164 Aleyn, William, of Tolleshunt Tregos, laborer 5
5281117 2439550 2439550 defendant Stace John husbandman 598208 598208 Stace, John, of Parva Totham, husbandman 6

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