home / cp40x

names

8 rows where case_id = 1967863

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3831871 1967863 1967863 plaintiff Harvy Robert clerk   Harvy, Robert, clerk 0
3831872 1967863 1967863 defendant Snellyng William smith 586470 586470 Snellyng, William, of Colchester, smith 0
3831873 1967863 1967863 defendant Abell William mariner 586470 586470 Abell, William, of Colchester, mariner 1
3831874 1967863 1967863 defendant Howe John glover 636638 636638 Howe, John, of Brykylsey, glover 2
3831875 1967863 1967863 defendant Fretson Thomas yeoman 586470 586470 Fretson, Thomas, of Colchester, yeoman 3
3831876 1967863 1967863 defendant Hubbersty John skinner 585869 585869 Hubbersty, John, of London, skinner 4
3831877 1967863 1967863 defendant Sadlyngton Henry merchant 611674 611674 Sadlyngton, Henry, of Bodyham, Sussex, merchant 5
3831878 1967863 1967863 defendant Chamberleyn Richard brewer 586175 586175 Chamberleyn, Richard, of Canterbury, brewer 6

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 18.35ms