home / cp40x

names

6 rows where case_id = 2413109

✎ 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
5190985 2413109 2413109 plaintiff Marchall John   857747 857747 Marchall, John, of Wyptoft, Warws 0
5190986 2413109 2413109 defendant Corpesone Richard husbandman 857748 857748 Corpesone, Richard, of Chyrche Byknell, Warws, husbandman 0
5190987 2413109 2413109 defendant Totlowe William   592745 592745 Totlowe, William, of Hynkeley, horse dealer 1
5190988 2413109 2413109 defendant Gybons Henry yeoman 851947 851947 Gybons, Henry, of Hampton, Warws, yeoman 2
5190989 2413109 2413109 defendant Salysbury John yeoman 857747 857747 Salysbury, John, of Wyptoft, Warws, yeoman 3
5190990 2413109 2413109 defendant Axham John walker 857751 857751 Axham, John, of Monkes Kyrkeby, Warws, walker 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 12.646ms