home / cp40x

names

7 rows where case_id = 2343765

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4956014 2343765 2343765 plaintiff Tracy Walter     Tracy, Walter 0
4956015 2343765 2343765 defendant Bonevyle John husbandman 827084 827084 Bonevyle, John, of Upwynborn, husbandman 0
4956016 2343765 2343765 defendant Boleyn John, junior chapman 682380 682380 Boleyn, John, junior, of Brydeport, chapman 1
4956017 2343765 2343765 defendant Coterygge Richard husbandman 770164 770164 Coterygge, Richard, of Tolre Porcorum, husbandman 2
4956018 2343765 2343765 defendant Wattes Roger butcher 703554 703554 Wattes, Roger, of Catstoke, butcher 3
4956019 2343765 2343765 defendant Houchyn John (legal representative)   Houchyn, John, executors of 4
4956020 2343765 2343765 defendant Lagwater John saddler 773470 773470 (Lagwater, John, of Blaneford Forum, saddler 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 13.68ms