home / cp40x

names

7 rows where case_id = 1924792

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3695423 1924792 1924792 plaintiff Prisse John     Prisse, John 0
3695424 1924792 1924792 plaintiff Valaunce Thomas     Valaunce, Thomas 1
3695425 1924792 1924792 defendant Sounde William husbandman 612874 612874 Sounde, William, of Sounde, husbandman 0
3695426 1924792 1924792 defendant Walker John clerk 594092 594092 Walker, John, of Worfeld, clerk 1
3695427 1924792 1924792 defendant Bolton Thomas walker 612875 612875 Bolton, Thomas, of Hallon, walker 2
3695428 1924792 1924792 defendant Garbott John weaver 612876 612876 Garbott, John, of Wyken, weaver 3
3695429 1924792 1924792 defendant Walker Roger walker 612877 612877 Walker, Roger, of Ryndelford, walker 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.328ms