home / cp40x

names

7 rows where case_id = 2466390

✎ 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
5370591 2466390 2466390 plaintiff Grygges Thomas     Grygges, Thomas 0
5370592 2466390 2466390 defendant Norewith Francis husbandman 587604 587604 Norewith, Francis, of Warham, husbandman 0
5370593 2466390 2466390 defendant Jacob Edmund husbandman 587604 587604 Jacob, Edmund, of Warham, husbandman 1
5370594 2466390 2466390 defendant Dey Thomas husbandman 587604 587604 Dey, Thomas, of Warham, husbandman 2
5370595 2466390 2466390 defendant Palreyman Robert butcher 591887 591887 Palreyman, Robert, of Hokham, butcher 3
5370596 2466390 2466390 defendant Elverych Thomas husbandman 587901 587901 Elverych, Thomas, of Holkham, husbandman 4
5370597 2466390 2466390 defendant Whelp John   587901 587901 Whelp, John, of Holkham, shepherd 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 7.76ms