home / cp40x

names

5 rows where case_id = 2310475

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4846695 2310475 2310475 plaintiff Pynton Thomas   789057 789057 Pynton, Thomas, of Waghn 0
4846696 2310475 2310475 defendant Burton William   755701 755701 Burton, William, of Sutton in Holderness 0
4846697 2310475 2310475 defendant Routh William gent 811910 811910 Routh, William, of Otryngham, son & heir of John Routh, of Otryngham, gent 1
4846698 2310475 2310475 defendant Crosse Robert husbandman 590898 590898 Crosse, Robert, of Kyllom, husbandman 2
4846699 2310475 2310475 defendant Wyton Henry husbandman 679794 679794 Wyton, Henry, of Eske, husbandman 3

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