home / cp40x

names

5 rows where case_id = 2512935

✎ 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
5526746 2512935 2512935 plaintiff Jollys John rector of the bishop of Norwich   Jollys, John, rector of the bishop of Norwich 0
5526747 2512935 2512935 defendant Watteson Robert yeoman 896472 896472 Watteson, Robert, of Chedesteyn, Suff, yeoman 0
5526748 2512935 2512935 defendant Gryme Thomas, senior   588849 588849 Gryme, Thomas, senior, of North Tudenham, yeoman, deputy to Hastyng, Robert 1
5526749 2512935 2512935 defendant Orlowe John yeoman 652442 652442 Orlowe, John, of Metfeld, Suff, yeoman 2
5526750 2512935 2512935 defendant Hastyngges Robert esq 629883 629883 Hastyngges, Robert, of Waterton, Lincs, esq 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 17.329ms