home / cp40x

names

6 rows where case_id = 1964248

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3820363 1964248 1964248 plaintiff Porter Thomas   588486 588486 Porter, Thomas, of Wynterton 0
3820364 1964248 1964248 defendant Banke Thomas mariner 588486 588486 Banke, Thomas, of Wynterton, mariner 0
3820365 1964248 1964248 defendant Harvy William yeoman 587672 587672 Harvy, William, of Horsted, yeoman 1
3820366 1964248 1964248 defendant Heyer John husbandman 587449 587449 Heyer, John, of Felmyngham, husbandman 2
3820367 1964248 1964248 defendant Taversham John pedder 599639 599639 Taversham, John, of Lycham, pedder 3
3820368 1964248 1964248 defendant Sewell Robert yeoman 590257 590257 Sewell, Robert, of Hemmysby, 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 21.536ms