home / cp40x

names

8 rows where case_id = 2373895

✎ 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
5057772 2373895 2373895 plaintiff Cornewe Nicholas esq   Cornewe, Nicholas, esq 0
5057773 2373895 2373895 defendant Gyrne John laborer 591392 591392 Gyrne, John, of Bradeford, laborer 0
5057774 2373895 2373895 defendant Hamelyn Robert husbandman 593027 593027 Hamelyn, Robert, of Thornbury, husbandman 1
5057775 2373895 2373895 defendant Lyke Robert laborer 593027 593027 Lyke, Robert, of Thornbury, laborer 2
5057776 2373895 2373895 defendant Bray Richard yeoman 593027 593027 Bray, Richard, of Thornbury, yeoman 3
5057777 2373895 2373895 defendant Bakbere Robert laborer 593027 593027 Bakbere, Robert, of Thornbury, laborer 4
5057778 2373895 2373895 defendant Shote William chaplain 841292 841292 together with Shote, William, of West Dowene, chaplain 5
5057779 2373895 2373895 defendant Denys Robert yeoman 593027 593027 Denys, Robert, of Thornbury, yeoman 6

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