home / cp40x

names

6 rows where case_id = 1971743

✎ 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
3844227 1971743 1971743 plaintiff Cressell John, junior     Cressell, John, junior 0
3844228 1971743 1971743 defendant Cressell William yeoman 638694 638694 Cressell, William, of Cobham, Jent, yeoman 0
3844229 1971743 1971743 defendant Cressell Thomas husbandman 638695 638695 Cressell, Thomas, of Bynsfeld, Berks, husbandman 1
3844230 1971743 1971743 defendant Cressell William fuller 638696 638696 Cressell, William, of Bynsfeld, fuller 2
3844231 1971743 1971743 defendant Cressell William, senior fuller 638696 638696 Cressell, William, senior, of Bynsfeld, fuller 3
3844232 1971743 1971743 defendant Burnham Ralph husbandman 603814 603814 Burnham, Ralph, of Aldershott, Hants, husbandman 4

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.924ms