home / cp40x

names

7 rows where case_id = 2231253

✎ 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
4600080 2231253 2231253 plaintiff Taylour Henry     Taylour, Henry 0
4600081 2231253 2231253 defendant Dandy Thomas wheel wright   Dandy, Thomas, wheel wright 0
4600082 2231253 2231253 defendant Barkere Geoffrey   639658 639658 Barkere, Geoffrey, of Fulmerston 1
4600083 2231253 2231253 defendant Broun John   587836 587836 Broun, John, of Folsham 2
4600084 2231253 2231253 defendant atte Kerre Godfrey     atte Kerre, Godfrey 3
4600085 2231253 2231253 defendant Gylle Thomas     Gylle, Thomas 4
4600086 2231253 2231253 defendant Colyn James   590966 590966 Colyn, James, of Byntre 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 8.343ms