home / cp40x

names

7 rows where case_id = 2246685

✎ 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
4652342 2246685 2246685 plaintiff Aylward Robert chaplain   Aylward, Robert, chaplain 0
4652343 2246685 2246685 defendant Gamyn Thomas chaplain 588136 588136 Gamyn, Thomas, of New Bokenham, chaplain 0
4652344 2246685 2246685 defendant Goodhale John husbandman 586154 586154 Goodhale, John, of Magna Elyngham, husbandman 1
4652345 2246685 2246685 defendant Turgood John   591103 591103 Turgood, John, of Attilburgh, wheelwright 2
4652346 2246685 2246685 defendant Mowyng Richard laborer 597296 597296 Mowyng, Richard, of Shropham, laborer 3
4652347 2246685 2246685 defendant Gyldensleve Alexander miller 605919 605919 Gyldensleve, Alexander, of West Harlyng, miller 4
4652348 2246685 2246685 defendant Sely Thomas laborer 591103 591103 Sely, Thomas, of Attilburgh, laborer 5

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 23.607ms