home / cp40x

names

9 rows where case_id = 2471431

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5387256 2471431 2471431 plaintiff Engham Thomas     Engham, Thomas, on his own account 0
5387257 2471431 2471431 defendant Waltham William yeoman 597802 597802 Waltham, William, of Tetteney, yeoman 0
5387258 2471431 2471431 defendant Clayton Simon husbandman 871073 871073 Clayton, Simon, of Northoresby, husbandman 1
5387259 2471431 2471431 defendant Lyson John husbandman 588363 588363 Lyson, John, of Granesby, husbandman 2
5387260 2471431 2471431 defendant Squyer John husbandman 881547 881547 Squyer, John, of Branesby, husbandman 3
5387261 2471431 2471431 defendant Tharold Robert, senior husbandman 586936 586936 Tharold, Robert, senior, of Thoresby, husbandman 4
5387262 2471431 2471431 defendant Tharold John, junior yeoman 586936 586936 Tharold, John, junior, of Thoresby, yeoman 5
5387263 2471431 2471431 defendant Thomas of Howeton by Waltham husbandman   Thomas, of Howeton by Waltham, husbandman 6
5387264 2471431 2471431 defendant Burton Henry yeoman 764869 764869 Burton, Henry, of Howeton, yeoman 7

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.055ms