home / cp40x

names

5 rows where case_id = 2382583

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5087018 2382583 2382583 plaintiff Holland Anne Duchess of Exeter   Holland, Anne, Duchess of Exeter 0
5087019 2382583 2382583 defendant Shote William chaplain 593622 593622 Shote, William, of Westdoun, chaplain 0
5087020 2382583 2382583 defendant Wellesbeare John husbandman 773120 773120 Wellesbeare, John, of Poghill, husbandman 1
5087021 2382583 2382583 defendant Calewodelegh Thomas gent 602941 602941 together with Calewodelegh, Thomas, of Clyst St Lawrence, gent 2
5087022 2382583 2382583 defendant Denys Henry husbandman 598270 598270 Denys, Henry, of Bokelond Bruer, husbandman 3

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.818ms