Generate a bowerbird data source object for a Zenodo data set
Source:R/zenodo.R
bb_zenodo_source.Rd
Generate a bowerbird data source object for a Zenodo data set
Value
A tibble containing the data source definition, as would be returned by bb_source
Examples
if (FALSE) { # \dontrun{
## generate the source object for the dataset
## 'Ichtyological data of Station de biologie des Laurentides 2019'
src <- bb_zenodo_source(3533328)
## download it to a temporary directory
data_dir <- tempfile()
dir.create(data_dir)
res <- bb_get(src, local_file_root = data_dir, verbose = TRUE)
res$files
} # }