home / cp40x

names

6 rows where case_id = 2377019

✎ 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
5068285 2377019 2377019 plaintiff Perys Edmund     Perys, Edmund 0
5068286 2377019 2377019 defendant Clere Edmund esq 614086 614086 Clere, Edmund, of Stokysby, esq 0
5068287 2377019 2377019 defendant Steyll John husbandman 586057 586057 Steyll, John, of Walpole, husbandman 1
5068288 2377019 2377019 defendant Geynesburgh John husbandman 601919 601919 Geynesburgh, John, of Wyram, husbandman 2
5068289 2377019 2377019 defendant Hoberd Thomas husbandman 599835 599835 Hoberd, Thomas, of Welle, husbandman 3
5068290 2377019 2377019 defendant Rawelyn John husbandman 586057 586057 Rawelyn, John, of Walpole, husbandman 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 20.422ms