short_dois.Rd
Retrieve the short DOI for one or more DOIs
A DOI or a vector of DOIs.
Whether to strip the leading 10/
.
Whether to wait for throttleTime
if no valid JSON containing
the short doi is returned (throttle=TRUE
) or throw an
error (throttle=FALSE
).
How long to wait when throttling.
For get_short_dois
, whether to show a progress bar; for
get_short_doi
, optionally, a progress bar to tick after the file
has been parsed (must be a progress::progress_bar()
object.
The short DOI or DOIs.
if (FALSE) { # \dontrun{
### Get a short DOI, just the short DOI returned
metabefor::get_short_doi("10.1371/journal.pone.0042793");
metabefor::get_short_doi("10.1890/10-0340.1");
} # }
if (FALSE) { # \dontrun{
### Get a short DOI, just the short DOI returned
metabefor::get_short_dois(
c("10.1371/journal.pone.0042793",
"10.1890/10-0340.1")
);
} # }