home / cp40x

names

8 rows where case_id = 2271987

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4721275 2271987 2271987 plaintiff (not given) William bishop of Carlisle   Carlisle, William, bishop of, executors of 0
4721276 2271987 2271987 plaintiff Louther Robert knight   (Louther, Robert, knight 1
4721277 2271987 2271987 plaintiff Wightman John clerk & parson 762914 762914 Wightman, John, of Musgrave, master, clerk & parson 2
4721278 2271987 2271987 plaintiff Scanceby Thomas master & parson 725344 725344 Scanceby, Thomas, of Louther, master & parson 3
4721279 2271987 2271987 plaintiff Ellergill Robert   790955 790955 Ellergill, Robert, of Yllesby, parson 4
4721280 2271987 2271987 plaintiff Hawkyn John   654047 654047 Hawkyn, John, of Penrith, vicar 5
4721281 2271987 2271987 plaintiff Louther William jun   Louther, William, jun 6
4721282 2271987 2271987 defendant Collane Thomas yeoman 776392 776392 Collane, Thomas, of Lynstok, yeoman 0

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