home / cp40x

names

6 rows where case_id = 1955054

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3791107 1955054 1955054 plaintiff Wolffe William     Wolffe, William 0
3791108 1955054 1955054 defendant Tolle John husbandman 587156 587156 Tolle, John, of Lamerton, husbandman 0
3791109 1955054 1955054 defendant Tolle Thomas laborer 629887 629887 Tolle, Thomas, of Stow St Mary, laborer 1
3791110 1955054 1955054 defendant Waren John, junior laborer 619617 619617 Waren, John, junior, of Stowe St Mary, laborer 2
3791111 1955054 1955054 defendant Cornysshe John husbandman 619617 619617 Cornysshe, John, of Stowe St Mary, husbandman 3
3791112 1955054 1955054 defendant Waren Thomas, senior husbandman 619617 619617 Waren, Thomas, senior, of Stowe St Mary, 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 18.725ms