home / cp40x

names

7 rows where case_id = 1907516

✎ 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
3640646 1907516 1907516 plaintiff at Howe John     at Howe, John 0
3640647 1907516 1907516 defendant Heward Thomas, junior husbandman 590135 590135 Heward, Thomas, junior, of Langley Abbots, husbandman 0
3640648 1907516 1907516 defendant Heyward Henry laborer 590135 590135 Heyward, Henry, of Langley Abbots, laborer 1
3640649 1907516 1907516 defendant Gladman William husbandman 600333 600333 Gladman, William, of Potterrowche, husbandman 2
3640650 1907516 1907516 defendant Goldsmyth James maltman 600334 600334 Goldsmyth, James, of Burton, Beds, maltman 3
3640651 1907516 1907516 defendant Grene Richard smith 600335 600335 Grene, Richard, of Kings Langley, smith 4
3640652 1907516 1907516 defendant Hasylwode John miller 590135 590135 Hasylwode, John, of Langley Abbots, miller 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 14.011ms