home / cp40x

names

7 rows where case_id = 2286858

✎ 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
4770831 2286858 2286858 plaintiff Roger John   789010 789010 Roger, John, of Bryaneston 0
4770832 2286858 2286858 plaintiff Roger Walter     Roger, Walter 1
4770833 2286858 2286858 defendant Popham Stephen   799993 799993 Popham, Stephen, of Lyndeherst, Hants, knight 0
4770834 2286858 2286858 defendant Darell William esq 864982 864982 Darell, William, of Lytelcote, Wilts, esq 1
4770835 2286858 2286858 defendant Popham John esq 593796 593796 Popham, John, of Salisbury, Wilts, esq 2
4770836 2286858 2286858 defendant Burdeyn John gent 783713 783713 Burdeyn, John, of Combe by Salisbury, gent 3
4770837 2286858 2286858 defendant Marihall Richard yeoman 593632 593632 Marihall, Richard, of Chalke, Wilts, 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 14.372ms