Download Data with Zenodo DOI.
ParseZenodo.Rd
Download Data with Zenodo DOI.
Usage
ParseZenodo(
doi = NULL,
file.ext = c("rdata", "rds", "h5ad"),
doi.df = NULL,
out.folder = NULL,
timeout = 1000,
quiet = FALSE,
parallel = TRUE
)
Arguments
- doi
A vector of Zenodo DOIs to download. Default: NULL.
- file.ext
The valid file extension for download. When NULL, use all files. Default: c("rdata", "rds", "h5ad").
- doi.df
DOI dataframe for download. This is useful when something wrong happens in downloading (e.g. MD5 verification failure,
DownloadZenodo
will return a dataframe contains failure terms.). Default: NULL. It is required to provide eitherdoi
ordoi.df
.- out.folder
The output folder. Default: NULL (current working directory).
- timeout
Maximum request time. Default: 1000.
- quiet
Logical value, whether to show downloading progress. Default: FALSE (show).
- parallel
Logical value, whether to download parallelly. Default: TRUE. When "libcurl" is available for
download.file
, the parallel is done by default (parallel
can be FALSE).