home / cp40x

names

7 rows where case_id = 1987751

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3892544 1987751 1987751 plaintiff Mynne John gent   Mynne, John, gent, executrix of 0
3892545 1987751 1987751 plaintiff Mynne Alice widow   Mynne, Alice, widow 1
3892546 1987751 1987751 defendant Crofte James esq 587145 587145 Crofte, James, of Shobdon, Herefs, esq 0
3892547 1987751 1987751 defendant Crofte John gent 591041 591041 Crofte, John, of Hanley, Worcs, gent 1
3892548 1987751 1987751 defendant ap Ryce James gent 646733 646733 ap Ryce, James, of Pylleth, Radnor, gent 2
3892549 1987751 1987751 defendant Hyett Simon gent 642266 642266 Hyett, Simon, of Ivyngton, Herefs, gent 3
3892550 1987751 1987751 defendant Curson Robert gent 585869 585869 Curson, Robert, 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 16.456ms