home / cp40x

names

8 rows where case_id = 2427490

✎ 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
5240689 2427490 2427490 plaintiff (not given) Thomas abbot of Keynesham Abbey   Keynesham Abbey, Thomas, abbot of 0
5240690 2427490 2427490 defendant Berkeley John yeoman 863121 863121 Berkeley, John, of Magna Mershfeld, yeoman 0
5240691 2427490 2427490 defendant Predy Thomas maltman 863121 863121 Predy, Thomas, of Magna Mershfeld, maltman 1
5240692 2427490 2427490 defendant Rede William maltman 863121 863121 Rede, William, of Magna Mershfeld, maltman 2
5240693 2427490 2427490 defendant Bole Thomas draper 863121 863121 Bole, Thomas, of Magna Mershfeld, draper 3
5240694 2427490 2427490 defendant Bole John, senior yeoman 863121 863121 Bole, John, senior, of Magna Mershfeld, yeoman 4
5240695 2427490 2427490 defendant Abbert Robert husbandman 765234 765234 Abbert, Robert, of Asshwyke, husbandman 5
5240696 2427490 2427490 defendant Mounteyn Robert husbandman 777948 777948 Mounteyn, Robert, of Asshewyke, husbandman 6

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 16.913ms