home / cp40x

names

6 rows where case_id = 2392135

✎ 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
5119501 2392135 2392135 plaintiff Sheffeld William skinner 586067 586067 Sheffeld, William, of York, skinner 0
5119502 2392135 2392135 defendant Eltofte John esq 778793 778793 Eltofte, John, of Derlyngton, Durham, esq 0
5119503 2392135 2392135 defendant Nevill John esq 848599 848599 Nevill, John, of Awthorp, Lincs, esq 1
5119504 2392135 2392135 defendant Ryther William   637995 637995 Ryther, William, of Ryther, knight 2
5119505 2392135 2392135 defendant Wakefeld William esq 848600 848600 Wakefeld, William, of Usseburn, esq 3
5119506 2392135 2392135 defendant Middilton William esq 779648 779648 Middilton, William, of Stokkeld, esq 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 9.227ms