home / cp40x

names

6 rows where case_id = 2504586

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5498815 2504586 2504586 plaintiff Palmer Henry   595064 595064 Palmer, Henry, of Gryston 0
5498816 2504586 2504586 defendant Morley Thomas yeoman 588583 588583 Morley, Thomas, of Caston, yeoman 0
5498817 2504586 2504586 defendant Crane John yeoman 827308 827308 Crane, John, of Morley juxta Hengham, yeoman 1
5498818 2504586 2504586 defendant Freman Richard schoolmaster 587414 587414 Freman, Richard, of Thetford, schoolmaster 2
5498819 2504586 2504586 defendant Wulterton Roger husbandman 599996 599996 Wulterton, Roger, of Carbroke, husbandman 3
5498820 2504586 2504586 defendant Hykkys Simon butcher 842904 842904 Hykkys, Simon, of Thompston, butcher 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 13.761ms