home / cp40x

names

8 rows where case_id = 1872753

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3616347 1872753 1872753 plaintiff Denman John     Denman, John 0
3616348 1872753 1872753 defendant Woley William yeoman 594496 594496 Woley, William, of Warsop, yeoman 0
3616349 1872753 1872753 defendant Wordesworth Richard laborer 594496 594496 Wordesworth, Richard, of Warsop, laborer 1
3616350 1872753 1872753 defendant Brounley Robert laborer 594497 594497 Brounley, Robert, of Parva Drayton, laborer 2
3616351 1872753 1872753 defendant Asteley Robert, junior husbandman 594498 594498 Asteley, Robert, junior, of Ewysley, husbandman 3
3616352 1872753 1872753 defendant Andrewe John glover 594499 594499 Andrewe, John, of Retforth, glover 4
3616353 1872753 1872753 defendant Gedlyng Joan widow 594499 594499 Gedlyng, Joan, of Retforth, widow 5
3616354 1872753 1872753 defendant Hydys John, junior husbandman 594500 594500 Hydys, John, junior, of Clareburgh, husbandman 6

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 10.397ms