home / cp40x

names

7 rows where case_id = 2515402

✎ 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
5534720 2515402 2515402 plaintiff Barkeley Maurice knight   Barkeley, Maurice, knight 0
5534721 2515402 2515402 defendant Sherard Thomas esq 591972 591972 Sherard, Thomas, of Stapulford, esq 0
5534722 2515402 2515402 defendant Shepard William (legal representative) 593219 593219 Shepard, William, of Okeley, executors of 1
5534723 2515402 2515402 defendant Shepard Thomas yeoman 831782 831782 (Shepard, Thomas, of Okeley, Staffs, yeoman 2
5534724 2515402 2515402 defendant Shepard John yeoman 593219 593219 Shepard, John, of Okeley, yeoman 3
5534725 2515402 2515402 defendant Shepard Hugh yeoman 593219 593219 Shepard, Hugh, of Okeley, yeoman 4
5534726 2515402 2515402 defendant Shepard Richard yeoman 593219 593219 Shepard, Richard, of Okeley, yeoman 5

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.142ms