Get last version from Zenodo
Source:R/get_last_version_from_zenodo.R
get_last_version_from_zenodo.Rd
This function gets the last version of a file from a Zenodo record
Examples
get_last_version_from_zenodo(
doi = "10.5281/zenodo.5794106",
pattern = "frozen.csv.gz",
path = "frozen.csv.gz"
)
#> Downloading 230106_frozen.csv.gz from https://doi.org/10.5281/zenodo.5794106 (The LOTUS Initiative for Open Natural Products Research: frozen dataset union wikidata (with metadata); unique identifier: https://doi.org/10.5281/zenodo.7534071)
#> [1] "frozen.csv.gz"
unlink("frozen.csv.gz")