Note: Your capsule has been pre-loaded with the packages required to follow these examples.
Detailed tutorial for using the HTRC Data Capsule System
How to access volume text in secure mode in a capsule
Using the HTRC API within a capsule
HTRC provides a search engine API, Solr API, for scholars to search volumes of their interest. Scholars can search by full-text, or MARC catalog fields. An example query is
chinkapin.pti.indiana.edu:9994/solr/meta/select/?q=title:war which returns all volumes of which the titles contain "war".
Use the IPython interactive interface to fetch volume content, and then run vector space model and topic modeling on volumes' OCR content.