home / cp40x

names

7 rows where case_id = 2331802

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4916941 2331802 2331802 plaintiff (not given)   abbot of Fountains Abbey   Fountains Abbey, abbot of 0
4916942 2331802 2331802 defendant Synderby Thomas husbandman 796604 796604 Synderby, Thomas, of Melmorby, husbandman 0
4916943 2331802 2331802 defendant Gill John husbandman 821655 821655 Gill, John, of Pykell, husbandman 1
4916944 2331802 2331802 defendant Gillyam William yeoman 631763 631763 Gillyam, William, of Whixley, yeoman 2
4916945 2331802 2331802 defendant Thomlynson William yeoman 821656 821656 Thomlynson, William, of Little Usburn, yeoman 3
4916946 2331802 2331802 defendant Gillyng John (legal representative) 821657 821657 Gillyng, John, of Disteford, yeoman, executrix of 4
4916947 2331802 2331802 defendant Gillyng Margaret widow, formerly wife of Testator   Gillyng, Margaret, widow, formerly wife of Testator 5

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