home / cp40x

names

5 rows where case_id = 1913689

✎ 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
3660931 1913689 1913689 plaintiff Irelond John   605255 605255 Irelond, John, of Lokkeswode 0
3660932 1913689 1913689 defendant Threle John gent 605255 605255 Threle, John, of Lokkeswode, gent 0
3660933 1913689 1913689 defendant Grantham Thomas yeoman 605256 605256 Grantham, Thomas, of Fetelworth, yeoman 1
3660934 1913689 1913689 defendant Fowler William laborer 605255 605255 Fowler, William, of Lokkeswode, laborer 2
3660935 1913689 1913689 defendant Brownyng Thomas laborer 605257 605257 Brownyng, Thomas, of Loxwood, laborer 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 13.478ms