home / cp40x

names

7 rows where case_id = 1978091

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3863868 1978091 1978091 plaintiff Johnson Cornelius beer brewer   Johnson, Cornelius, beer brewer 0
3863869 1978091 1978091 defendant Baron John gent 589206 589206 Baron, John, of Buntyngford, gent 0
3863870 1978091 1978091 defendant Rychemonde John bailiff of Maldon, Essex, yeoman   Rychemonde, John, bailiff of Maldon, Essex, yeoman 1
3863871 1978091 1978091 defendant Bewall Thomas smith 586058 586058 Bewall, Thomas, of Enfeld, Middx, smith 2
3863872 1978091 1978091 defendant Sewell John yeoman and innholder 586935 586935 Sewell, John, of Royston, yeoman and innholder 3
3863873 1978091 1978091 defendant Jackson of Nasyng Essex, carpenter   Jackson, of Nasyng, Essex, carpenter 4
3863874 1978091 1978091 defendant Cornewalle John esq 590902 590902 Cornewalle, John, of Stebbyng, Essex, esq 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 16.568ms