home / cp40x

names

7 rows where case_id = 2244411

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4644238 2244411 2244411 plaintiff Lovell Thomas esq   Lovell, Thomas, esq 0
4644239 2244411 2244411 defendant Banham John   777361 777361 Banham, John, of Mawteby 0
4644240 2244411 2244411 defendant Hervy Geoffrey   777362 777362 Hervy, Geoffrey, of Castre by Yarmouth 1
4644241 2244411 2244411 defendant Skeet John   759963 759963 Skeet, John, of Lodne 2
4644242 2244411 2244411 defendant atte Hole John   771709 771709 atte Hole, John, of Chatgrave 3
4644243 2244411 2244411 defendant Hekyngham John   776911 776911 Hekyngham, John, of Hardele 4
4644244 2244411 2244411 defendant Ederych John   759963 759963 Ederych, John, of Lodne 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.559ms