home / cp40x

names

6 rows where case_id = 2007191

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3950300 2007191 2007191 plaintiff Fuller Clement     Fuller, Clement 0
3950301 2007191 2007191 defendant Sepens Thomas husbandman 603717 603717 Sepens, Thomas, of Wursted, husbandman 0
3950302 2007191 2007191 defendant Pynchebek John husbandman 590845 590845 Pynchebek, John, of Gunton, husbandman 1
3950303 2007191 2007191 defendant Beare William husbandman 597505 597505 Beare, William, of Lesyngham, husbandman 2
3950304 2007191 2007191 defendant Stone William (legal representative) 588126 588126 Stone, William, of North Walsham, draper, executrix of 3
3950305 2007191 2007191 defendant Stone Elizabeth widow 588126 588126 Stone, Elizabeth, of North Walsham, widow 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 16.347ms