home / cp40x

names

5 rows where case_id = 2400915

✎ 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
5149260 2400915 2400915 plaintiff Donatus Angelus merchant 853314 853314 Donatus, Angelus, of Aldebrand, merchant 0
5149261 2400915 2400915 plaintiff Strossis Ludovic merchant 604340 604340 Strossis, Ludovic, of Florence, merchant 1
5149262 2400915 2400915 defendant Thore William   853315 853315 Thore, William, of Eyam, Derbs, parson 0
5149263 2400915 2400915 defendant Hezaud John esq 586254 586254 Hezaud, John, of Southampton, esq 1
5149264 2400915 2400915 defendant Gracy John esq & constable 663253 663253 Gracy, John, of Portsmouth, Hants, esq, alias Guy, John, of Goderych, Herefs, esq & constable 2

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.821ms