home / cp40x

names

7 rows where case_id = 2451679

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5322083 2451679 2451679 plaintiff Martyn Thomas     Martyn, Thomas 0
5322084 2451679 2451679 defendant Hende John yeoman 799770 799770 Hende, John, of Bletnesho, Beds, yeoman 0
5322085 2451679 2451679 defendant Reynold John chapman 873187 873187 Reynold, John, of Swatey, Hunts, chapman 1
5322086 2451679 2451679 defendant Newelond John chandler 601513 601513 Newelond, John, of Ryseley, Beds, chandler 2
5322087 2451679 2451679 defendant Reynold John chapman 873188 873188 Reynold, John, of Swatey, chapman 3
5322088 2451679 2451679 defendant Lewen Thomas weaver 587719 587719 Lewen, Thomas, of St Ives, Hunts, weaver 4
5322089 2451679 2451679 defendant Marchall John yeoman 873189 873189 Marchall, John, of Pedyngton, Beds, yeoman 5

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