home / cp40x

names

6 rows where case_id = 2302148

✎ 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
4819416 2302148 2302148 plaintiff Persbryg Thomas clerk   Persbryg, Thomas, clerk 0
4819417 2302148 2302148 defendant Yong John yeoman 807262 807262 Yong, John, of Aclyngton Parke in Warkworth, Northumb, yeoman 0
4819418 2302148 2302148 defendant del Chamber John yeoman 618711 618711 del Chamber, John, of Mitford, Northumb, yeoman 1
4819419 2302148 2302148 defendant Tayte John husbandman 807263 807263 Tayte, John, of Benryche, Northumb, husbandman 2
4819420 2302148 2302148 defendant Armstrang Nicholas shoemaker 597075 597075 Armstrang, Nicholas, of Morpath, Northumb, shoemaker 3
4819421 2302148 2302148 defendant Stock Thomas yeoman 777049 777049 Stock, Thomas, of Mitford, yeoman 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.41ms