home / cp40x

names

7 rows where case_id = 1910922

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3651798 1910922 1910922 plaintiff Thomlynson William     Thomlynson, William 0
3651799 1910922 1910922 defendant Senns Edmund goldsmith 594777 594777 Senns, Edmund, of Lynne, Norf, goldsmith 0
3651800 1910922 1910922 defendant Senns Katherine widow 602793 602793 Senns, Katherine, of Marton, Lincs, widow 1
3651801 1910922 1910922 defendant Senns Anthony laborer 588861 588861 Senns, Anthony, of Westham, Essex, laborer 2
3651802 1910922 1910922 defendant Senns James goldsmith 588081 588081 Senns, James, of Cambridge, goldsmith 3
3651803 1910922 1910922 defendant Senns Lawrence goldsmith 603977 603977 Senns, Lawrence, of Cokermouth, Cumber, goldsmith 4
3651804 1910922 1910922 defendant Robynson John carrier 586067 586067 Robynson, John, of York, carrier 5

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