home / cp40x

names

9 rows where case_id = 2217258

✎ 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
4554259 2217258 2217258 plaintiff Green Ralph     Green, Ralph 0
4554260 2217258 2217258 defendant Boteler John   769001 769001 Boteler, John, of Wermestre 0
4554261 2217258 2217258 defendant Skynnere John   728495 728495 Skynnere, John, of Deverell 1
4554262 2217258 2217258 defendant White Simon   728495 728495 White, Simon, of Deverell 2
4554263 2217258 2217258 defendant Cartere William   728495 728495 Cartere, William, of Deverell 3
4554264 2217258 2217258 defendant Fuer John   728495 728495 Fuer, John, of Deverell 4
4554265 2217258 2217258 defendant Herder John   728495 728495 Herder, John, of Deverell 5
4554266 2217258 2217258 defendant Taillour James   728495 728495 Taillour, James, of Deverell 6
4554267 2217258 2217258 defendant Gays John   728495 728495 Gays, John, of Deverell 7

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