| Title: | Download Files from a Zenodo Repository |
|---|---|
| Description: | Lists and downloads available files of a Zenodo repository. For restricted repository a token must be provided. |
| Authors: | Nicolas Casajus [aut, cre, cph] (ORCID: <https://orcid.org/0000-0002-5537-5294>) |
| Maintainer: | Nicolas Casajus <[email protected]> |
| License: | GPL (>= 2) |
| Version: | 0.1 |
| Built: | 2026-05-14 05:24:19 UTC |
| Source: | https://github.com/FRBCesab/zenodor |
Downloads files of a Zenodo repository. If the repository is in restricted
access, a token (argument token) must be provided.
zen_download_files(record_id, token, path = ".", files = NULL)zen_download_files(record_id, token, path = ".", files = NULL)
record_id |
a |
token |
a |
path |
a |
files |
a |
No returned value.
# List files available in the repo: https://zenodo.org/record/7936568 ---- zen_list_files("7936568") ## Not run: # Download one file ---- zen_download_files("7936568", files = "FORCIS_pump_v03_14062023.csv") # Download all files ---- zen_download_files("7936568") ## End(Not run)# List files available in the repo: https://zenodo.org/record/7936568 ---- zen_list_files("7936568") ## Not run: # Download one file ---- zen_download_files("7936568", files = "FORCIS_pump_v03_14062023.csv") # Download all files ---- zen_download_files("7936568") ## End(Not run)
Lists files of a Zenodo repository. If the repository is in restricted
access, a token (argument token) must be provided.
zen_list_files(record_id, token)zen_list_files(record_id, token)
record_id |
a |
token |
a |
No returned value.
# List files available in the repo: https://zenodo.org/record/7936568 ---- zen_list_files("7936568")# List files available in the repo: https://zenodo.org/record/7936568 ---- zen_list_files("7936568")