home / cp40x

names

6 rows where case_id = 1984667

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3883265 1984667 1984667 plaintiff Walwyn Richard esq   Walwyn, Richard, esq 0
3883266 1984667 1984667 defendant Phelippis Thomas   602351 602351 Phelippis, Thomas, of Stretton, minstrel 0
3883267 1984667 1984667 defendant Waters Thomas, junior husbandman 645005 645005 Waters, Thomas, junior, of Cardyngton, husbandman 1
3883268 1984667 1984667 defendant Smyth Thomas laborer 645006 645006 Smyth, Thomas, of Inchemasse, laborer 2
3883269 1984667 1984667 defendant Smythe Thomas laborer 645005 645005 Smythe, Thomas, of Cardyngton, laborer 3
3883270 1984667 1984667 defendant Mylward John carpenter 645007 645007 Mylward, John, of Acton of the Hyll, carpenter 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 18.064ms