get_last_version_from_zenodo: Get last version from Zenodo

View source: R/get_last_version_from_zenodo.R

get_last_version_from_zenodoR Documentation

Get last version from Zenodo

Description

This function gets the last version of a file from a Zenodo record

Usage

get_last_version_from_zenodo(doi, pattern, path)

Arguments

doi

DOI of the Zenodo record

pattern

Pattern to identify the file to download

path

Path to save the file to

Details

Credit goes to partially to https://inbo.github.io/inborutils/

Value

The path to the file

Examples

## Not run: 
get_last_version_from_zenodo(
  doi = "10.5281/zenodo.5794106",
  pattern = "frozen.csv.gz",
  path = "frozen.csv.gz"
)

## End(Not run)

taxonomicallyinformedannotation/tima-r documentation built on Feb. 28, 2025, 10:10 a.m.