home / cp40x

names

7 rows where case_id = 2119008

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4268317 2119008 2119008 plaintiff Hyndeley Hugh (legal representative)   Hyndeley, Hugh, executors of 0
4268318 2119008 2119008 plaintiff Gerrard William esq   (Gerrard, William, esq 1
4268319 2119008 2119008 plaintiff Moseley Nicholas alderman 585869 585869 Moseley, Nicholas, of London, alderman 2
4268320 2119008 2119008 defendant Rigbye Edward esq 726734 726734 Rigbye, Edward, of Burgh, Lancs, esq 0
4268321 2119008 2119008 defendant Catesby Edward gent 726735 726735 Catesby, Edward, of Bromehill, Warks, gent 1
4268322 2119008 2119008 defendant Barlowe Alexander esq 662505 662505 Barlowe, Alexander, of Barlowe, Lancs, esq 2
4268323 2119008 2119008 defendant Spencer Hugh gent 677434 677434 Spencer, Hugh, of Althropp, Nhants, gent 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 16.094ms