home / cp40x

names

9 rows where case_id = 1952282

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3782539 1952282 1952282 plaintiff Hunt William (legal representative)   Hunt, William, administrator of 0
3782540 1952282 1952282 plaintiff Hunt Richard     Hunt, Richard 1
3782541 1952282 1952282 defendant Whitewood John vintner 586208 586208 Whitewood, John, of Hereford, vintner 0
3782542 1952282 1952282 defendant Skarlett Richard mercer 586208 586208 Skarlett, Richard, of Hereford, mercer 1
3782543 1952282 1952282 defendant Fylle Robert mercer 586208 586208 Fylle, Robert, of Hereford, mercer 2
3782544 1952282 1952282 defendant Dyer Nicholas dyer 586208 586208 Dyer, Nicholas, of Hereford, dyer 3
3782545 1952282 1952282 defendant Hays Nicholas dyer 586208 586208 Hays, Nicholas, of hereford, dyer 4
3782546 1952282 1952282 defendant Yemans John glover 586208 586208 Yemans, John, of Hereford, glover 5
3782547 1952282 1952282 defendant Laurence Matilda widow 626599 626599 Laurence, Matilda, of Frome Bishop, widow 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 14.657ms