home / cp40x

names

6 rows where case_id = 2286628

✎ 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
4770134 2286628 2286628 plaintiff Prideaux John   770987 770987 Prideaux, John, of Adeston 0
4770135 2286628 2286628 defendant Carswell Walter gent 640502 640502 Carswell, Walter, of Carswell, gent 0
4770136 2286628 2286628 defendant Warwyk William husbandman 640502 640502 Warwyk, William, of Carswell, husbandman 1
4770137 2286628 2286628 defendant Talle William tailor 622317 622317 Talle, William, of Torre, tailor 2
4770138 2286628 2286628 defendant Bere John   640502 640502 Bere, John, of Carswell, groom 3
4770139 2286628 2286628 defendant Forster John laborer 640502 640502 Forster, John, of Carswell, 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 13.085ms