Description Usage Arguments Author(s) Examples
View source: R/lib_springer_download.R
Downloads pdf and epub files
from link.springer.com
using wget.
It is assumed that you have access
to the resources via your library.
It also assumes that wget
is installed in your system.
1 2 3 4 5 6 7 8 9 10 |
dir |
Character string. Directory which contains target files. |
doi |
Character vector. A vector of Digital Object Identifiers. |
chkfiles |
Logical.
Check available files in |
args |
Character string.
Arguments to pass to |
remove_files |
Logical. Remove files that do not match the specified file type. BE CAREFUL WITH THIS OPTION AS FILES CAN BE DELETED FROM YOUR SYSTEM. |
type |
Character string. Type of ebooks to download. |
par |
Logical.
If |
ncores |
Integer.
Number of cores to use if |
Ivan Jacob Agaloos Pesigan
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ## Not run:
# Single DOI
doi <- "10.1007/978-0-387-98141-3"
lib_springer_download(
dir = getwd(),
doi = doi,
chkfiles = TRUE,
type = "both",
par = FALSE
)
# Vector of DOIs
doi <- c(
"https://doi.org/10.1007/978-0-387-71762-3",
"10.1007/978-0-387-98141-3"
)
lib_springer_download(
dir = getwd(),
doi = doi,
chkfiles = TRUE,
type = "both",
par = FALSE
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.