home / cp40x

names

6 rows where case_id = 2419748

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5213734 2419748 2419748 plaintiff Bradeley Richard     Bradeley, Richard 0
5213735 2419748 2419748 defendant Davy Richard husbandman 588802 588802 Davy, Richard, of Wotton, husbandman 0
5213736 2419748 2419748 defendant Wheler John husbandman 860017 860017 Wheler, John, of Moweses, husbandman 1
5213737 2419748 2419748 defendant Longley Thomas husbandman 588483 588483 Longley, Thomas, of Audeley, husbandman 2
5213738 2419748 2419748 defendant Brinford William husbandman 588802 588802 Brinford, William, of Wotton, husbandman 3
5213739 2419748 2419748 defendant Taillour Philip husbandman 588483 588483 Taillour, Philip, of Audeley, 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 17.379ms