home / cp40x

names

6 rows where case_id = 2133840

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4310544 2133840 2133840 plaintiff Benton Henry (legal representative)   Benton, Henry, executors of 0
4310545 2133840 2133840 plaintiff Gybbons Nicholas gent   (Gybbons, Nicholas, gent 1
4310546 2133840 2133840 defendant Attwood alias Clarke Elizabeth widow 672798 672798 Attwood alias Clarke, Elizabeth, of Wolverley, Worcs, widow 0
4310547 2133840 2133840 defendant Smyth William butcher 602577 602577 Smyth, William, of Chadesley, Worcs, butcher 1
4310548 2133840 2133840 defendant Clare Gilbert innholder 666321 666321 Clare, Gilbert, of Sturbridge, Worcs, innholder 2
4310549 2133840 2133840 defendant Smyth Owen glover 654966 654966 Smyth, Owen, of Sturbridge, glover 3

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 18.363ms