zenodo_url: Obtain the URL for a Zenodo record to be downloaded

View source: R/zenodo_url.R

zenodo_urlR Documentation

Obtain the URL for a Zenodo record to be downloaded

Description

zenodo_url obtains the URL for a given Zenodo record, identified either by the concept record identifier (concept_rec_id) and version (rec_version) or record identifier (rec_id). (Note: if rec_id is used, it overrides concept_rec_id).

zenodo_versions: determines the available version numbers and the corresponding record identifier for each version available for a given Zenodo concept (group of records).

Usage

zenodo_url(concept_rec_id = 3723356, rec_version = "latest", rec_id = NULL)

zenodo_versions(concept_rec_id, arg_checks = TRUE)

Arguments

concept_rec_id

Concept record identifier, a character value corresponding to the Zenodo concept.

rec_version

character value of the version number or "latest" (default) for the data to be download.

rec_id

Optional input record identifier, a character value corresponding to the Zenodo record.

Value

zenodo_url: character value of the URL for the zip to be downloaded.

zenodo_versions: a data.frame of version number and record identifier for each version available.

Examples

 
   zenodo_versions("3723356")
   zenodo_url("3723356", "latest")
   zenodo_url("3723356", "1.1.0")
 


weecology/NeonTreeEvaluation_package documentation built on Aug. 27, 2024, 10:53 a.m.