home / cp40x

names

6 rows where case_id = 2392321

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5120113 2392321 2392321 plaintiff Spyen William merchant 586286 586286 Spyen, William, of Boston, merchant 0
5120114 2392321 2392321 defendant Leweman Thomas husbandman 594868 594868 Leweman, Thomas, of Kyrketon in Holand, husbandman 0
5120115 2392321 2392321 defendant Ayleward Henry husbandman 594868 594868 Ayleward, Henry, of Kyrketon in Holand, husbandman 1
5120116 2392321 2392321 defendant Chosell John chapman 586286 586286 Chosell, John, of Boston, chapman 2
5120117 2392321 2392321 defendant Cheston Henry chapman 586286 586286 Cheston, Henry, of Boston, chapman 3
5120118 2392321 2392321 defendant Kele Richard, junior husbandman 596792 596792 Kele, Richard, junior, of Horncastell, 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 18.586ms