home / cp40x

names

8 rows where case_id = 2503659

✎ 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
5495862 2503659 2503659 plaintiff Hobard James     Hobard, James 0
5495863 2503659 2503659 defendant Smalwell John husbandman 588830 588830 Smalwell, John, of Iffeld, husbandman 0
5495864 2503659 2503659 defendant Mychell John cooper 585989 585989 Mychell, John, of Framfeld, cooper 1
5495865 2503659 2503659 defendant Wygsell William husbandman 588829 588829 Wygsell, William, of Ukfeld, husbandman 2
5495866 2503659 2503659 defendant Stone Robert laborer 588829 588829 Stone, Robert, of Ukfeld, laborer 3
5495867 2503659 2503659 defendant Bastard Thomas laborer 588829 588829 Bastard, Thomas, of Ukfeld, laborer 4
5495868 2503659 2503659 defendant Ket- Thomas, junior laborer 883939 883939 Ket-, Thomas, junior, of Marysfeld, laborer 5
5495869 2503659 2503659 defendant Puksty Nicholas husbandman 585987 585987 Puksty, Nicholas, of Buksted, husbandman 6

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.428ms