home / cp40x

names

6 rows where case_id = 2450472

✎ 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
5317996 2450472 2450472 plaintiff Fuller William ironmonger 585869 585869 Fuller, William, of London, ironmonger 0
5317997 2450472 2450472 defendant Hand Christopher smith 872731 872731 Hand, Christopher, of Wendelburgh, Nhants, smith 0
5317998 2450472 2450472 defendant Servant alias Carter John smith 663272 663272 Servant alias Carter, John, of Hygham Ferres, Nhants, smith 1
5317999 2450472 2450472 defendant Smyth Richard smith 675468 675468 Smyth, Richard, of Thrapston, Nhants, smith 2
5318000 2450472 2450472 defendant Dauntree John (legal representative) 594218 594218 Dauntree, John, of St Neots, executors of 3
5318001 2450472 2450472 defendant Bere William baker 603780 603780 (Bere, William, of Higham Ferres, baker 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 17.442ms