home / cp40x

names

6 rows where case_id = 2320726

✎ 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
4880219 2320726 2320726 plaintiff Wartir Christopher skinner 585869 585869 Wartir, Christopher, of London, skinner 0
4880220 2320726 2320726 defendant Fenwyk Henry esq 816535 816535 Fenwyk, Henry, of Cokirmouth, Cumbria, esq 0
4880221 2320726 2320726 defendant Thorp John gent 587458 587458 Thorp, John, of Stowemarket, Suff, gent 1
4880222 2320726 2320726 defendant Rither William, junior gent 814236 814236 Rither, William, junior, of Rither, Yorks, gent 2
4880223 2320726 2320726 defendant Maners John   816536 816536 Maners, John, of Yetell, Northumb, knight 3
4880224 2320726 2320726 defendant Pant John   589596 589596 Pant, John, of Yoxhale, gent, son of Pant, Henry 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 15.165ms