rsync_from_hathi | R Documentation |
Given a vector of Hathi Trust IDs (generated, for example, from
workset_builder), this function attempts to use
rsync to download their Extracted
Features (per-page word counts and part of speech information) files from
Hathi Trust. rsync
needs to be installed in your system and accessible via
system or system2.
rsync_from_hathi(htids, dir = getOption("hathiTools.ef.dir"))
htids |
A vector of Hathi Trust IDs, a workset generated by workset_builder, or a data frame with a column named 'htid'. |
dir |
The directory to save the downloaded EF files to. This defaults to
|
The return code of system or system2 used to run rsync
, which
must be installed on your system.
res <- workset_builder(c("tylenol", "paracetamol"), volumes_only = FALSE)
rsync_from_hathi(res$htid[1:10], dir = tempdir())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.