home / cp40x

names

6 rows where case_id = 1984721

✎ 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
3883412 1984721 1984721 plaintiff Waterman Thomas clerk   Waterman, Thomas, clerk 0
3883413 1984721 1984721 defendant Rede Robert brickmaker 631466 631466 Rede, Robert, of Bokenham juxta le Fery, brickmaker 0
3883414 1984721 1984721 defendant Kene Thomas yeoman 600139 600139 Kene, Thomas, of Toft Monks, yeoman 1
3883415 1984721 1984721 defendant Davy John yeoman 600139 600139 Davy, John, of Toft Monks, yeoman 2
3883416 1984721 1984721 defendant Davy William yeoman or organ player 600139 600139 Davy, William, of Toft Monks, yeoman or organ player 3
3883417 1984721 1984721 defendant Bayspole Thomas yeoman 599961 599961 Bayspole, Thomas, of Aldeby, yeoman 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 8.539ms