home / cp40x

names

6 rows where case_id = 2412283

✎ 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
5188275 2412283 2412283 plaintiff Hoppyng John     Hoppyng, John 0
5188276 2412283 2412283 defendant Wathyman Richard   857466 857466 Wathyman, Richard, of Fluxston alias Ottery St Mary, franklin 0
5188277 2412283 2412283 defendant Prydeaux John   853025 853025 Prydeaux, John, of Flete Damerell, franklin 1
5188278 2412283 2412283 defendant Lechelond John, sen husbandman 762298 762298 Lechelond, John, sen, of Chilmelegh, husbandman 2
5188279 2412283 2412283 defendant Speare John husbandman 833253 833253 Speare, John, of Brodewode Kelly, husbandman 3
5188280 2412283 2412283 defendant Raysshelegh Thomas gent 617335 617335 Raysshelegh, Thomas, of Ham St George, gent 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.963ms