home / cp40x

names

6 rows where case_id = 2318384

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4872589 2318384 2318384 plaintiff of Lancaster John Duke of Bedford   of Lancaster, John, Duke of Bedford 0
4872590 2318384 2318384 defendant Colpyrthwayt John, senior yeoman 758170 758170 Colpyrthwayt, John, senior, of Kentmere, yeoman 0
4872591 2318384 2318384 defendant Colpyrthwayt John, junior yeoman 758170 758170 Colpyrthwayt, John, junior, of Kentmere, yeoman 1
4872592 2318384 2318384 defendant Hyrd William yeoman 758170 758170 Hyrd, William, of Kentmere, yeoman 2
4872593 2318384 2318384 defendant Dokker William yeoman 758170 758170 Dokker, William, of Kentmere, yeoman 3
4872594 2318384 2318384 defendant Dokker Roger yeoman 758170 758170 Dokker, Roger, of Kentmere, 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 12.263ms