home / cp40x

names

6 rows where case_id = 1927759

✎ 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
3704704 1927759 1927759 plaintiff Gase Thomas     Gase, Thomas 0
3704705 1927759 1927759 defendant Trumper Thomas shoemaker 585934 585934 Trumper, Thomas, of Becclys, shoemaker 0
3704706 1927759 1927759 defendant Boyse John smith 586363 586363 Boyse, John, of Bungey, smith 1
3704707 1927759 1927759 defendant Saunderson Peter mercer 586363 586363 Saunderson, Peter, of Bungey, mercer 2
3704708 1927759 1927759 defendant Thorn John husbandman 614639 614639 Thorn, John, of Takelneston, Norf, husbandman 3
3704709 1927759 1927759 defendant Sepas Robert husbandman 589754 589754 Sepas, Robert, of Harleston, Norf, 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 13.707ms