home / cp40x

names

9 rows where case_id = 2200784

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, place_id

id ▼ case_id role surname forename occupation place_id raw_segment seq
4500519 2200784 2200784 defendant Rosty John   763803 763803 Rosty, John, of St Austel 0
4500520 2200784 2200784 defendant Trevensanstel John     Trevensanstel, John 1
4500521 2200784 2200784 defendant Penrys Robert     Penrys, Robert 2
4500522 2200784 2200784 defendant Batey William     Batey, William 3
4500523 2200784 2200784 defendant Bonnyth Nicholas Dawe, Thomas   Bonnyth, Nicholas, Dawe, Thomas 4
4500524 2200784 2200784 defendant Baron John     Baron, John 5
4500525 2200784 2200784 defendant Chidly John   763804 763804 Chidly, John, of Porthpihan 6
4500526 2200784 2200784 defendant Trounson Richard     Trounson, Richard 7
4500527 2200784 2200784 defendant Gacowe Roger   763803 763803 Gacowe, Roger, of St Austel 8

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