home / cp40x

names

7 rows where case_id = 1948712

✎ 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
3771289 1948712 1948712 plaintiff Strangways James esq   Strangways, James, esq 0
3771290 1948712 1948712 defendant Conyers Gawin gent 622701 622701 Conyers, Gawin, of Swaynby, gent 0
3771291 1948712 1948712 defendant Conyers Thomas gent 622701 622701 Conyers, Thomas, of Swaynby, gent 1
3771292 1948712 1948712 defendant Robynson Richard laborer 622701 622701 Robynson, Richard, of Swaynby, laborer 2
3771293 1948712 1948712 defendant Hugyll William laborer 622701 622701 Hugyll, William, of Swaynby, laborer 3
3771294 1948712 1948712 defendant Hewardyne Ralph laborer 622701 622701 Hewardyne, Ralph, of Swaynby, laborer 4
3771295 1948712 1948712 defendant Hamylton Cuthbert laborer 622701 622701 Hamylton, Cuthbert, of Swaynby, laborer 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 14.925ms