home / cp40x

names

6 rows where case_id = 2382437

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5086484 2382437 2382437 plaintiff Hertwell Thomas esq   Hertwell, Thomas, esq 0
5086485 2382437 2382437 defendant Travell John, senior husbandman 614289 614289 Travell, John, senior, of Quinton, husbandman 0
5086486 2382437 2382437 defendant Travell Nicholas husbandman 614289 614289 Travell, Nicholas, of Quinton, husbandman 1
5086487 2382437 2382437 defendant Blombe William laborer 586848 586848 Blombe, William, of Northampton, laborer 2
5086488 2382437 2382437 defendant Travell John, junior husbandman 614289 614289 Travell, John, junior, of Quinton, husbandman 3
5086489 2382437 2382437 defendant Jeffys John   587210 587210 Jeffys, John, of Merston, shepherd 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 12.906ms