home / cp40x

names

9 rows where case_id = 2351821

✎ 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
4982974 2351821 2351821 plaintiff Valdryan Eustace (legal representative) 585869 585869 Valdryan, Eustace, of London, executors of 0
4982975 2351821 2351821 plaintiff Martyn Robert esq   (Martyn, Robert, esq 1
4982976 2351821 2351821 plaintiff Petvyle William brewer 585869 585869 Petvyle, William, of London, brewer 2
4982977 2351821 2351821 plaintiff Broun Stephen     Broun, Stephen 3
4982978 2351821 2351821 defendant Clement Thomas chandler 830429 830429 Clement, Thomas, of Petton, Beds, chandler 0
4982979 2351821 2351821 defendant Horle Thomas husbandman 606441 606441 Horle, Thomas, of Petton, husbandman 1
4982980 2351821 2351821 defendant Prentise William glover 828391 828391 Prentise, William, of Hicchen, Herts, glover 2
4982981 2351821 2351821 defendant Bere William chandler 830430 830430 Bere, William, of Shelford, Beds, chandler 3
4982982 2351821 2351821 defendant Catworth Thomas chapman 762696 762696 Catworth, Thomas, of Hicchen, chapman 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 13.833ms