home / cp40x

names

7 rows where case_id = 2051745

✎ 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
4076100 2051745 2051745 plaintiff Sewell Richard (legal representative) 603944 603944 Sewell, Richard, of Dilham, yeoman, executors of 0
4076101 2051745 2051745 plaintiff Grenewood Henry alderman 585936 585936 (Grenewood, Henry, of Norwich, alderman 1
4076102 2051745 2051745 plaintiff Sewell George his brother   Sewell, George, his brother 2
4076103 2051745 2051745 defendant Peters George yeoman 602132 602132 Peters, George, of Cawston, yeoman 0
4076104 2051745 2051745 defendant Middilton Richard tailor 588126 588126 Middilton, Richard, of North Walsham, tailor 1
4076105 2051745 2051745 defendant Wallpoole John tailor 593572 593572 Wallpoole, John, of Dylham, tailor 2
4076106 2051745 2051745 defendant Phayer Robert reeder or reader 588126 588126 Phayer, Robert, of North Walsham, reeder or reader 3

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