ia_download | R Documentation |
Download files for Internet Archive items.
ia_download(files, dir = ".", extended_name = TRUE, overwrite = FALSE,
silence = FALSE)
files |
A data frame of files returned by ia_files. You should filter this data frame to download only the files that you actually want. |
dir |
The directory in which to save the downloaded files. |
extended_name |
If this argument is |
overwrite |
If |
silence |
If false, print the item IDs as they are downloaded. |
A data frame including the file names of the downloaded files.
## Not run:
if (require(dplyr)) {
dir <- tempdir()
ia_get_items("thedamnationofth00133gut") %>%
ia_files() %>%
filter(type == "txt") %>% # download only the files we want
ia_download(dir = dir, extended_name = FALSE)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.