home / cp40x

names

7 rows where case_id = 2203035

✎ 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
4508179 2203035 2203035 plaintiff Younge John   586235 586235 Younge, John, of Ealdyng 0
4508180 2203035 2203035 defendant Pecok John   595776 595776 Pecok, John, of Holyngbourne 0
4508181 2203035 2203035 defendant Cherchehell Walter     Cherchehell, Walter 1
4508182 2203035 2203035 defendant atte Hethe John     atte Hethe, John 2
4508183 2203035 2203035 defendant Petyt Henry     Petyt, Henry 3
4508184 2203035 2203035 defendant Ters John     Ters, John 4
4508185 2203035 2203035 defendant Baterell William     Baterell, William 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.6ms