home / cp40x

names

6 rows where case_id = 2466468

✎ 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
5370836 2466468 2466468 plaintiff Halle Robert grocer 585869 585869 Halle, Robert, of London, grocer 0
5370837 2466468 2466468 defendant Chicheley Thomas smith 876062 876062 Chicheley, Thomas, of Neuport Pond, Essex, smith 0
5370838 2466468 2466468 defendant Purdon alias Burton John smith 879010 879010 Purdon alias Burton, John, of Chepyng Dunmowe, Essex, smith 1
5370839 2466468 2466468 defendant Chirchehawe John, junior   599345 599345 Chirchehawe, John, junior, of Stratford, Suff, cloth maker 2
5370840 2466468 2466468 defendant Broke William yeoman 597563 597563 Broke, William, of Manytre, Essex, yeoman 3
5370841 2466468 2466468 defendant Childerhous John merchant 879011 879011 Childerhous, John, of Eston Bemant, Suff, merchant 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 14.51ms