home / cp40x

names

8 rows where case_id = 2039685

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4042173 2039685 2039685 plaintiff Pagett William   663487 663487 Pagett, William, of Lea 0
4042174 2039685 2039685 plaintiff Cusson Robert   680797 680797 Cusson, Robert, of Knottingley 1
4042175 2039685 2039685 plaintiff Pagett Thomas yeoman 680798 680798 Pagett, Thomas, of Haddellseye, yeoman 2
4042176 2039685 2039685 defendant Wharton Joan widow   Wharton, Joan, widow, executrix of Richard Warton alias Quarton, of Maltbye, yeoman, executors of 0
4042177 2039685 2039685 defendant Hargrave Gregory yeoman 585869 585869 (Hargrave, Gregory, of London, yeoman 1
4042178 2039685 2039685 defendant Hargrave Peter yeoman 585869 585869 Hargrave, Peter, of London, yeoman 2
4042179 2039685 2039685 defendant Hargrave Gawin yeoman 585869 585869 Hargrave, Gawin, of London, yeoman 3
4042180 2039685 2039685 defendant Hargrave Florence spinster 585869 585869 Hargrave, Florence, of London, spinster 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.202ms