home / cp40x

names

7 rows where case_id = 2364928

✎ 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
5027520 2364928 2364928 plaintiff Martyn John, senior     Martyn, John, senior 0
5027521 2364928 2364928 defendant Sutton Thomas husbandman 593979 593979 Sutton, Thomas, of Frendesbury, husbandman 0
5027522 2364928 2364928 defendant Noreys Thomas husbandman 588675 588675 Noreys, Thomas, of Challok, husbandman 1
5027523 2364928 2364928 defendant Kyrkeby John   588791 588791 Kyrkeby, John, of Derteford, bailiff 2
5027524 2364928 2364928 defendant Hacche Richard husbandman 588412 588412 Hacche, Richard, of Westwell, husbandman 3
5027525 2364928 2364928 defendant Hale William laborer 772176 772176 Hale, William, of Sutton atte Hone, laborer 4
5027526 2364928 2364928 defendant Mace John laborer 815860 815860 Mace, John, of Horton juxta Frenyngham, laborer 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 15.897ms