Description Usage Arguments Related Functions and Methods Warning Other APIs Progress bar See Also Examples
Queries the DOI resolution proxy server REST API.
Retries failed requests.
Caches results (when memoise::memoise()
is installed).
1 2 3 4 5 6 7 | get_doi_handles(x, query = NULL, ...)
resolve_doi(x, ...)
is_doi_resolvable(x, ...)
is_doi_found(x, ...)
|
x |
A vector created by, or convertable to |
query |
A named list of query parameters. |
... |
Arguments passed on to
|
get_doi_handles
: Query the handles endpoint.
For details, see the
DOI REST API documentation.
resolve_doi
: Get the resolved URL for a DOI.
Returns NA
if there is no URL value (rare, but theoretically possible).
is_doi_resolvable
: Tests whether there is a URL to resolve to.
Simple wrapper around resolve_doi()
is_doi_found
: Test whether DOI handle can be found on doi.org.
If you are using this in your own package, or create a lot of traffic,
please set your own httr::user_agent()
.
This client only queries the doi.org API.
The doi.org API only includes information on DOI resolution,
not other metadata.
For other APIs, see doi_ras()
Emits a progressr::progressor()
progress bar.
To enable in your session run:
progressr::handlers(global = TRUE)
See progressr documentation for details.
Other doi:
doiEntry
,
doi_examples()
,
doi_ra
,
doi()
,
regex_doi()
,
view_doi_matches()
1 2 3 4 5 6 7 8 | # from https://www.doi.org/factsheets/DOIProxy.html
get_doi_handles(
x = c("10.1000/1", "10.1038/nphys1170"),
query = list(type = "URL")
)
resolve_doi(c("10.1038/nphys1170", "10.1000/1"))
is_doi_resolvable(c("10.1000/1", "10.1000/2"))
is_doi_found(c("10.1000/I_DO_NOT_EXIST", "10.1000/1"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.