home / cp40x

names

6 rows where case_id = 2030328

✎ 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
4015775 2030328 2030328 plaintiff Somersett Thomas esq 674814 674814 Somersett, Thomas, of Rogerstons Graunge, or of Raglan, Monmouth, esq 0
4015776 2030328 2030328 defendant Warren Christopher dyer 586117 586117 Warren, Christopher, of Coventry, dyer 0
4015777 2030328 2030328 defendant Saunders William vintner 586117 586117 Saunders, William, of Coventry, vintner 1
4015778 2030328 2030328 defendant Watkyns William gent 674819 674819 Watkyns, William, of Treothen, Herefs, gent 2
4015779 2030328 2030328 defendant ap Morgan William Thomas husbandman 674820 674820 ap Morgan, William Thomas, of Pentyre, husbandman 3
4015780 2030328 2030328 defendant Gethyn Thomas husbandman 674820 674820 Gethyn, Thomas, of Pentyre, 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 14.004ms