home / cp40x

names

6 rows where case_id = 2312369

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4853037 2312369 2312369 plaintiff Whetenale William grocer 585869 585869 Whetenale, William, of London, grocer 0
4853038 2312369 2312369 defendant Greyby John, sen gent 812932 812932 Greyby, John, sen, of Kyngesthorp, Nhants, gent 0
4853039 2312369 2312369 defendant Haukyn John sheerman 781524 781524 Haukyn, John, of Coventry, Warws, sheerman 1
4853040 2312369 2312369 defendant Scheshe Gerard gent 606953 606953 Scheshe, Gerard, of Northampton, Nhants, gent 2
4853041 2312369 2312369 defendant Mone John fuller 593796 593796 Mone, John, of Salisbury, Wilts, fuller 3
4853042 2312369 2312369 defendant Bull Thomas husbandman 603464 603464 Bull, Thomas, of Bedford, Beds, husbandman 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 15.272ms