home / cp40x

names

8 rows where case_id = 2228930

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4592268 2228930 2228930 plaintiff Nicholas Guy (legal representative) 585869 585869 Nicholas, Guy, of London, horse dealer, executors of 0
4592269 2228930 2228930 plaintiff Yerde William esq   (Yerde, William, esq 1
4592270 2228930 2228930 plaintiff Yerde Alice     Alice, his wife 2
4592271 2228930 2228930 defendant Otwy Thomas, sen   772708 772708 Otwy, Thomas, sen, of Henxtworth, Herts 0
4592272 2228930 2228930 defendant Otwy Thomas   792804 792804 Otwy, Thomas, of Henxtworth, son of Thomas Otwy, sen 1
4592273 2228930 2228930 defendant Rocheford John   772710 772710 Rocheford, John, of Caldecote, Herts 2
4592274 2228930 2228930 defendant Paccheford Richard   760118 760118 Paccheford, Richard, of Wynchestre 3
4592275 2228930 2228930 defendant Wright John   587532 587532 Wright, John, of Asshewell 4

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