home / cp40x

names

8 rows where case_id = 2152779

✎ 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
4365685 2152779 2152779 plaintiff Fletcher Lancelot (legal representative)   Fletcher, Lancelot, executor of 0
4365686 2152779 2152779 plaintiff Fletcher George     Fletcher, George 1
4365687 2152779 2152779 defendant Prestman Robert (legal representative) 745286 745286 Prestman, Robert, of Caldbeck, yeoman, executrix of 0
4365688 2152779 2152779 defendant Prestman Isabel widow 745286 745286 Prestman, Isabel, of Caldbeck, widow 1
4365689 2152779 2152779 defendant Parker John yeoman 594145 594145 Parker, John, of Heskett, yeoman 2
4365690 2152779 2152779 defendant Scott Robert (legal representative) 745291 745291 Scott, Robert, of Felsale, yeoman, executrix of 3
4365691 2152779 2152779 defendant Scott Jenetta widow 745291 745291 Scott, Jenetta, of Felsale, widow 4
4365692 2152779 2152779 defendant Boradell Robert yeoman 673706 673706 Boradell, Robert, of Gosforth, yeoman 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 15.27ms