home / cp40x

names

9 rows where case_id = 1874393

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3621900 1874393 1874393 plaintiff Parys John     Parys, John 0
3621901 1874393 1874393 defendant Totney Thomas husbandman 595790 595790 Totney, Thomas, of Parva Shelford, husbandman 0
3621902 1874393 1874393 defendant Waynesheed William husbandman 595790 595790 Waynesheed, William, of Parva Shelford, husbandman 1
3621903 1874393 1874393 defendant Neweman Thomas husbandman 595790 595790 Neweman, Thomas, of Parva Shelford, husbandman 2
3621904 1874393 1874393 defendant Neweman Stephen husbandman 595790 595790 Neweman, Stephen, of Parva Shelford, husbandman 3
3621905 1874393 1874393 defendant Prestwode Richard tailor 595790 595790 Prestwode, Richard, of Parva Shelford, tailor 4
3621906 1874393 1874393 defendant Prysaker John laborer 595790 595790 Prysaker, John, of Parva Shelford,laborer 5
3621907 1874393 1874393 defendant Flaxman John tailor 595790 595790 Flaxman, John, of Parva Shelford, tailor 6
3621908 1874393 1874393 defendant Merkyn Richard yeoman 585995 585995 Merkyn, Richard, of Neweton, yeoman 7

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