home / cp40x

names

7 rows where place_id = 781381

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4672407 2257023 2257023 defendant Nelet Thomas   781381 781381 Nelet, Thomas, of Old Sobbury, vicar 0
4672408 2257023 2257023 defendant Thomas-servant-Helot Thomas laborer 781381 781381 Thomas-servant-Helot, Thomas, of Old Sobbury, laborer 1
4676510 2258269 2258269 defendant Tomkyns Richard husbandman 781381 781381 Tomkyns, Richard, of Old Sobbury, husbandman 0
4805762 2298011 2298011 defendant Addam Robert husbandman 781381 781381 Addam, Robert, of Old Sobbury, husbandman 2
4805774 2298012 2298012 defendant Adames Robert husbandman 781381 781381 Adames, Robert, of Old Sobbury, husbandman 4
5078702 2380118 2380118 defendant Gough John yeoman 781381 781381 Gough, John, of Old Sobbury, yeoman 0
5260803 2433501 2433501 defendant Hampsted Robert grasier 781381 781381 Hampsted, Robert, of Old Sobbury, grasier 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.535ms