home / cp40x

names

5 rows where case_id = 2121640

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4276261 2121640 2121640 plaintiff Crosbie Richard (legal representative)   Crosbie, Richard, administrator of 0
4276262 2121640 2121640 plaintiff Crosbie Lancelot     Crosbie, Lancelot 1
4276263 2121640 2121640 defendant Robotham John husbandman 728278 728278 Robotham, John, of Creswell, Derbs, husbandman 0
4276264 2121640 2121640 defendant Robotham William husbandman 610144 610144 Robotham, William, of Creswell, husbandman 1
4276265 2121640 2121640 defendant Syttwell Robert, junior yeoman 716342 716342 Syttwell, Robert, junior, of Staveley Netherthorpe, Derbs, yeoman 2

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