home / cp40x

names

6 rows where case_id = 2391516

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5117377 2391516 2391516 plaintiff Plombe Simon     Plombe, Simon 0
5117378 2391516 2391516 defendant Den Andrew clerk 590966 590966 Den, Andrew, of Byntre, clerk 0
5117379 2391516 2391516 defendant Costantyn John miller 591127 591127 Costantyn, John, of Elsyng, miller 1
5117380 2391516 2391516 defendant Davy Henry husbandman 588802 588802 Davy, Henry, of Wotton, husbandman 2
5117381 2391516 2391516 defendant Dowesyng Thomas laborer 586102 586102 Dowesyng, Thomas, of Hengham, laborer 3
5117382 2391516 2391516 defendant Turnour William tailor 586102 586102 Turnour, William, of Hengham, tailor 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.216ms