home / cp40x

names

9 rows where case_id = 2045162

✎ 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
4057757 2045162 2045162 plaintiff Cage Edward     Cage, Edward 0
4057758 2045162 2045162 defendant Reve George husbandman 627380 627380 Reve, George, of Stonham Earl, husbandman 0
4057759 2045162 2045162 defendant Partrich Geoffrey butcher 643121 643121 Partrich, Geoffrey, of Woodbridge, butcher 1
4057760 2045162 2045162 defendant Webb Thomas yeoman 643121 643121 Webb, Thomas, of Woodbridge, yeoman 2
4057761 2045162 2045162 defendant Acres Ralph yeoman 619804 619804 Acres, Ralph, of Stoke juxta Naylond, yeoman 3
4057762 2045162 2045162 defendant Yorke William yeoman 684341 684341 Yorke, William, of Grundesborough, yeoman 4
4057763 2045162 2045162 defendant Constable Richard husbandman 587401 587401 Constable, Richard, of Whatfeld, husbandman 5
4057764 2045162 2045162 defendant Palmer Thomas husbandman 640899 640899 Palmer, Thomas, of Brisett, husbandman 6
4057765 2045162 2045162 defendant Lock Thomas pedder 586134 586134 Lock, Thomas, of Ipswich, pedder 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 14.456ms