home / cp40x

names

8 rows where case_id = 2243277

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4640297 2243277 2243277 plaintiff Dokwra John de     Dokwra, John de 0
4640298 2243277 2243277 defendant Dalstonman William     Dalstonman, William 0
4640299 2243277 2243277 defendant Kesewyk John de     Kesewyk, John de 1
4640300 2243277 2243277 defendant Henryson William   777014 777014 Henryson, William, of Irthynton 2
4640301 2243277 2243277 defendant Watson Iveson Robert     Watson Iveson, Robert 3
4640302 2243277 2243277 defendant Colthird John     Colthird, John 4
4640303 2243277 2243277 defendant del Hall Henry     del Hall, Henry 5
4640304 2243277 2243277 defendant Notehode Robert     Notehode, Robert 6

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 12.151ms