home / cp40x

names

9 rows where case_id = 2221163

✎ 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
4566706 2221163 2221163 plaintiff Suffolk Isabel countess of   Suffolk, Isabel, countess of 0
4566707 2221163 2221163 defendant Baldewyn Robert   592146 592146 Baldewyn, Robert, of Nedham 0
4566708 2221163 2221163 defendant Godyng William formerly staying in Perham   Godyng, William, formerly staying in Perham 1
4566709 2221163 2221163 defendant Negmere Philip   586470 586470 Negmere, Philip, of Colchester 2
4566710 2221163 2221163 defendant Halfplough Henry   612659 612659 Halfplough, Henry, of Ilketishale 3
4566711 2221163 2221163 defendant Cook John   770297 770297 Cook, John, of Hacheton 4
4566712 2221163 2221163 defendant Dunche John formerly of Perham   Dunche, John, formerly of Perham 5
4566713 2221163 2221163 defendant Wode Thomas   587550 587550 Wode, Thomas, of Eye 6
4566714 2221163 2221163 defendant Cane or Cave John   591949 591949 Cane or Cave, John, of Thorp 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 18.256ms