home / cp40x

names

9 rows where case_id = 2229397

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4594030 2229397 2229397 plaintiff Pettere John   585936 585936 Pettere, John, of Norwich 0
4594031 2229397 2229397 defendant Kelsale Henry   772869 772869 Kelsale, Henry, of Tacolveston 0
4594032 2229397 2229397 defendant Dedmor James   590966 590966 Dedmor, James, of Byntre 1
4594033 2229397 2229397 defendant Snowe Andrew   589398 589398 Snowe, Andrew, of Blofeld 2
4594034 2229397 2229397 defendant Aleyn Adam   629588 629588 Aleyn, Adam, of Plumstede 3
4594035 2229397 2229397 defendant Pindre Henry   593282 593282 Pindre, Henry, of Drayton 4
4594036 2229397 2229397 defendant Hakeford John butcher   Hakeford, John, butcher 5
4594037 2229397 2229397 defendant Est John butcher   Est, John, butcher 6
4594038 2229397 2229397 defendant Brakke John     Brakke, John 7

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