home / cp40x

names

6 rows where case_id = 1980495

✎ 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
3870830 1980495 1980495 plaintiff Albon Henry grocer 585936 585936 Albon, Henry, of Norwich, grocer 0
3870831 1980495 1980495 defendant Burton Thomas miller 642887 642887 Burton, Thomas, of Trows Millegate, miller 0
3870832 1980495 1980495 defendant Hale John chaplain 587283 587283 Hale, John, of Honyngham, chaplain 1
3870833 1980495 1980495 defendant Leveriche Richard husbandman 586341 586341 Leveriche, Richard, of Elyngham, husbandman 2
3870834 1980495 1980495 defendant Rykke John husbandman 586364 586364 Rykke, John, of Long Stratton, husbandman 3
3870835 1980495 1980495 defendant Wale John husbandman 590350 590350 Wale, John, of Framyngham Pygot, husbandman 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 14.865ms