home / cp40x

names

7 rows where case_id = 1989278

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3897190 1989278 1989278 plaintiff Wescott John clerk   Wescott, John, clerk 0
3897191 1989278 1989278 defendant Vean James husbandman 647618 647618 Vean, James, of Burryan, husbandman 0
3897192 1989278 1989278 defendant Brownyng Richard husbandman 647618 647618 Brownyng, Richard, of Burryan, husbandman 1
3897193 1989278 1989278 defendant Thomas William husbandman 647618 647618 Thomas, William, of Burryan, husbandman 2
3897194 1989278 1989278 defendant James William John husbandman 647618 647618 James, William John, of Burryan, husbandman 3
3897195 1989278 1989278 defendant Robert Nicholas laborer 647618 647618 Robert, Nicholas, of Burryan, laborer 4
3897196 1989278 1989278 defendant Rawe Robert Robert laborer 647618 647618 Rawe, Robert Robert, of Burryan, laborer 5

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