home / cp40x

names

6 rows where case_id = 2134177

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4311540 2134177 2134177 plaintiff Burrell William (legal representative)   Burrell, William, executrix of 0
4311541 2134177 2134177 plaintiff Burrell Agnes widow   Burrell, Agnes, widow 1
4311542 2134177 2134177 defendant Valyer Thomas yeoman 734839 734839 Valyer, Thomas, of Wogham, Hamsey, yeoman 0
4311543 2134177 2134177 defendant Valyer John (legal representative) 734840 734840 Valyer, John, of Mychinge, mariner, executor of 1
4311544 2134177 2134177 defendant Nicholls Simon   719537 719537 Nicholls, Simon, of Mechynge, sailor 2
4311545 2134177 2134177 defendant Randall Robert Hamsey, yeoman   Randall, Robert, Hamsey, yeoman 3

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