home / cp40x

names

6 rows where case_id = 1965686

✎ 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
3824978 1965686 1965686 plaintiff Wolley Ambrose grocer 585869 585869 Wolley, Ambrose, of London, grocer 0
3824979 1965686 1965686 defendant Andrewe John yeoman 624147 624147 Andrewe, John, of Munden, Herts, yeoman 0
3824980 1965686 1965686 defendant Halfhed John yeoman 635374 635374 Halfhed, John, of Bryghtyng, Herts, yeoman 1
3824981 1965686 1965686 defendant Pyke Robert mariner 635375 635375 Pyke, Robert, of Maldyn, Essex, mariner 2
3824982 1965686 1965686 defendant Carre William   586836 586836 Carre, William, of Newcastle on Tyne 3
3824983 1965686 1965686 defendant Fortyn Thomas smith 601727 601727 Fortyn, Thomas, of Brygge, Kent, smith 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.663ms