home / cp40x

names

7 rows where case_id = 2527459

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5575603 2527459 2527459 plaintiff Stafford Henry knight, Marquess of Dorset   Stafford, Henry, knight, Marquess of Dorset 0
5575604 2527459 2527459 defendant Pulteney Thomas (legal representative) 610825 610825 Pulteney, Thomas, of Mysterton, knight, executors of 0
5575605 2527459 2527459 defendant Pulteney Thomas esq 601196 601196 (Pulteney, Thomas, of Mysterton, Leics, esq 1
5575606 2527459 2527459 defendant Assheby William esq 634171 634171 Assheby, William, of Lowesby, Leics, esq 2
5575607 2527459 2527459 defendant Button William clerk 610825 610825 Button, William, of Mysterton, clerk 3
5575608 2527459 2527459 defendant Cates Adam gent 610825 610825 Cates, Adam, of Mysterton, gent 4
5575609 2527459 2527459 defendant Helcote Robert gent 610825 610825 Helcote, Robert, of Mysterton, gent 5

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