home / cp40x

names

8 rows where case_id = 2454284

✎ 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
5330798 2454284 2454284 plaintiff Bosard Philip     Bosard, Philip 0
5330799 2454284 2454284 defendant Tynwynter John carpenter 587882 587882 Tynwynter, John, of Lavenham, carpenter 0
5330800 2454284 2454284 defendant Elmyn Robert carpenter 629988 629988 Elmyn, Robert, of Ryngsell, carpenter 1
5330801 2454284 2454284 defendant Parker John husbandman 587716 587716 Parker, John, of Hecham, husbandman 2
5330802 2454284 2454284 defendant Rolf John (legal representative) 585937 585937 Rolf, John, of Bylston, husbandman, executor of 3
5330803 2454284 2454284 defendant Kekyll Thomas clothmaker 585937 585937 Kekyll, Thomas, of Bylston, clothmaker 4
5330804 2454284 2454284 defendant Halle John (legal representative) 586956 586956 Halle, John, of Semer, husbandman, executors of 5
5330805 2454284 2454284 defendant Dagler Nicholas husbandman 586956 586956 (Dagler, Nicholas, of Semer, husbandman 6

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 12.536ms