home / cp40x

names

10 rows where case_id = 1872135

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3614310 1872135 1872135 plaintiff Bray Reginald knight   Bray, Reginald, knight 0
3614311 1872135 1872135 plaintiff Lovell Thomas knight   Lovell, Thomas, knight 1
3614312 1872135 1872135 plaintiff Hobart James     Hobart, James 2
3614313 1872135 1872135 plaintiff Emson Richard     Emson, Richard 3
3614314 1872135 1872135 plaintiff Dymmok Andrew     Dymmok, Andrew 4
3614315 1872135 1872135 defendant Drury Robert   585869 585869 Drury, Robert, of London, knight 0
3614316 1872135 1872135 defendant Jeney Edmund esq 594037 594037 Jeney, Edmund, of Knotsale, Suff, esq 1
3614317 1872135 1872135 defendant Gascoign William   594038 594038 Gascoign, William, of Gawekethorp, Yorks, knight 2
3614318 1872135 1872135 defendant Draper William gent 585869 585869 Draper, William, of London, gent 3
3614319 1872135 1872135 defendant Tonge Anthony gent 585869 585869 Tonge, Anthony, of London, gent 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 10.989ms