home / cp40x

names

8 rows where case_id = 1924992

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3696009 1924992 1924992 plaintiff Roper John     Roper, John 0
3696010 1924992 1924992 defendant Bristoo John esq 590660 590660 Bristoo, John, of Carlisle, Cumber, esq 0
3696011 1924992 1924992 defendant Skelton Clement esq 590660 590660 Skelton, Clement, of Carlisle, esq 1
3696012 1924992 1924992 defendant Bone Nicholas (legal representative) 589895 589895 Bone, Nicholas, of Edelmeton, gent, executrix of 2
3696013 1924992 1924992 defendant Bone Rose widow 590127 590127 Bone, Rose, of Edelmeton, Middx, widow 3
3696014 1924992 1924992 defendant Throkmorton William esq 588814 588814 Throkmorton, William, of Trylley, Glos, esq 4
3696015 1924992 1924992 defendant Fraingerton Henry esq 612989 612989 Fraingerton, Henry, of Fraingerton, Lancs, esq 5
3696016 1924992 1924992 defendant Grene William gent 585869 585869 Grene, William, of London, gent 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 11.335ms