home / cp40x

names

6 rows where case_id = 2270505

✎ 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
4716581 2270505 2270505 plaintiff Winchester Robert warden of the college of St Mary, by   Winchester, Robert, warden of the college of St Mary, by 0
4716582 2270505 2270505 defendant Rige Peter husbandman 597513 597513 Rige, Peter, of Andover, husbandman 0
4716583 2270505 2270505 defendant West John husbandman 790067 790067 West, John, of Abbotess Anne, husbandman 1
4716584 2270505 2270505 defendant Cole Thomas husbandman 602643 602643 Cole, Thomas, of Stokbrigge, husbandman 2
4716585 2270505 2270505 defendant Lylye Robert husbandman 597513 597513 Lylye, Robert, of Andover, husbandman 3
4716586 2270505 2270505 defendant Elysaundre William husbandman 790068 790068 Elysaundre, William, of Kings Enham, 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.486ms