home / cp40x

names

6 rows where case_id = 2230076

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4596240 2230076 2230076 plaintiff Rowe Richard merchant 594621 594621 Rowe, Richard, of Plymouth, merchant 0
4596241 2230076 2230076 defendant Sergeaux Thomas   601049 601049 Sergeaux, Thomas, of Holesworthy 0
4596242 2230076 2230076 defendant Spyrway Thomas son of Thomas   Spyrway, Thomas, son of Thomas 1
4596243 2230076 2230076 defendant Antony William   773055 773055 Antony, William, of St John, Cornwall 2
4596244 2230076 2230076 defendant Colyshille Richard   588673 588673 Colyshille, Richard, of Sele 3
4596245 2230076 2230076 defendant Baker Andrew   773056 773056 Baker, Andrew, of Doryngton in Ermeton 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.388ms