The book is available as a data package in R. The package includes the text, figured, tables, table of contents, and entity annotations of the text.
Installation instructions:
devtools::install_github("STAT325-S24/HistoryAmherstCollege")
library(HistoryAmherstCollege)
Location of data package and source files: https://github.com/STAT325-S24/HistoryAmherstCollege