home / cp40x

names

4 rows where place_id = 850346

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename

id ▼ case_id role surname forename occupation place_id raw_segment seq
5130861 2395507 2395507 defendant Shyrley John esq 850346 850346 Shyrley, John, of Staunton Harold, Leics, esq 0
5150305 2401221 2401221 defendant Shyrley John esq 850346 850346 Shyrley, John, of Staunton Harold, Leices, esq 0
5164137 2405250 2405250 defendant Shyrleye John esq 850346 850346 Shyrleye, John, of Staunton Harold, Leics, esq 0
5593465 2532938 2532938 defendant Shirley Ralph   850346 850346 Shirley, Ralph, of Staunton Harold, Leics, knight 0

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