home / cp40x

names

6 rows where case_id = 2288726

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4776773 2288726 2288726 plaintiff Armeston William     Armeston, William 0
4776774 2288726 2288726 defendant Daweson William yeoman 588053 588053 Daweson, William, of Wheston, yeoman 0
4776775 2288726 2288726 defendant (not given) Robert son of Henry Robynson, laborer   Robert son of Henry Robynson, of Tyddeswall, laborer 1
4776776 2288726 2288726 defendant Prestlyf John husbandman 604645 604645 Prestlyf, John, of Tyddeswall, husbandman 2
4776777 2288726 2288726 defendant (not given) Thomas son of Roger Peek, husbandman   Thomas son of Roger Peek, of Wheston, husbandman 3
4776778 2288726 2288726 defendant Robynson Luke Harrisservant laborer 604645 604645 Robynson, Luke Harrisservant, of Tyddeswall, laborer 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 11.41ms