home / cp40x

names

8 rows where case_id = 2185298

✎ 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
4451064 2185298 2185298 plaintiff Herlethorp Stephen de     Herlethorp, Stephen de, on his own account 0
4451065 2185298 2185298 defendant Bokard William   758082 758082 Bokard, William, of Gobeby 0
4451066 2185298 2185298 defendant del Mounkton Thomas     del Mounkton, Thomas 1
4451067 2185298 2185298 defendant Golt Agatha   588878 588878 Golt, Agatha, of Helperby 2
4451068 2185298 2185298 defendant Wysbarn John     Wysbarn, John 3
4451069 2185298 2185298 defendant Penok Nicholas     Penok, Nicholas 4
4451070 2185298 2185298 defendant Seriaunt John   757472 757472 Seriaunt, John, of Faldyngton 5
4451071 2185298 2185298 defendant Hole William in the     Hole, William in the 6

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.349ms