home / cp40x

names

8 rows where case_id = 2312933

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4855054 2312933 2312933 plaintiff Alibon John     Alibon, John 0
4855055 2312933 2312933 defendant Sclater John slater 587136 587136 Sclater, John, of Derby, slater 0
4855056 2312933 2312933 defendant Taverner John taverner 587136 587136 Taverner, John, of Derby, taverner 1
4855057 2312933 2312933 defendant Whyte Lawrence   590605 590605 Whyte, Lawrence, of Burton on Trent, Staffs, wright 2
4855058 2312933 2312933 defendant Prynce Richard yeoman 805378 805378 Prynce, Richard, of Wyveley, yeoman 3
4855059 2312933 2312933 defendant Magson Nicholas butcher 587136 587136 Magson, Nicholas, of Derby, butcher 4
4855060 2312933 2312933 defendant Topclyff John administrators of   Topclyff, John, administrators of 5
4855061 2312933 2312933 defendant Topclyff Emma widow 587136 587136 Topclyff, Emma, of Derby, widow 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 15.614ms