home / cp40x

names

6 rows where case_id = 1928066

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3705701 1928066 1928066 plaintiff Hasseley Hugh clerk   Hasseley, Hugh, clerk 0
3705702 1928066 1928066 defendant Morten Richard draper 614816 614816 Morten, Richard, of Borthampton, draper 0
3705703 1928066 1928066 defendant Robert John husbandman 614817 614817 Robert, John, of Patteshyll, Nhants, husbandman 1
3705704 1928066 1928066 defendant Bryghtwell William husbandman 593683 593683 Bryghtwell, William, of Wotton, Nhants, husbandman 2
3705705 1928066 1928066 defendant Hutt Henry miller 614818 614818 Hutt, Henry, of Bukbroke, Nhants, miller 3
3705706 1928066 1928066 defendant Moreton Richard draper 586848 586848 Moreton, Richard, of Northampton, draper 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 11.618ms