home / cp40x

names

7 rows where case_id = 1870183

✎ 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
3608089 1870183 1870183 plaintiff Spencer John   585936 585936 Spencer, John, of Norwich, draper, administrators of 0
3608090 1870183 1870183 plaintiff Spencer Alice widow   (Spencer, Alice, widow 1
3608091 1870183 1870183 plaintiff Spencer Leonard     Spencer, Leonard 2
3608092 1870183 1870183 defendant Swelle Robert (legal representative) 585933 585933 Swelle, Robert, of Great Yarmouth, yeoman, administratrix of 0
3608093 1870183 1870183 defendant Swelle Alice widow 585933 585933 Swelle, Alice, of Great Yarmouth, widow 1
3608094 1870183 1870183 defendant Folburn Thomas (legal representative) 607127 607127 Folburn, Thomas, of Scothowe, yeoman, administrator of 2
3608095 1870183 1870183 defendant Hubberd John   589927 589927 Hubberd, John, of Paston 3

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