short_doi | R Documentation |
Get a random set of DOI's through CrossRef.
short_doi(doi = NULL, justshort = TRUE)
doi |
A long-form DOI. |
justshort |
If TRUE, return just the short DOI. If false, the short DOI, the submitted long-form DOI, and whether the short DOI is new. |
See here http://shortdoi.org/ for more information.
Either the short DOI or the submitted DOI, the short DOI, and whether it is a new short DOI or not.
Scott Chamberlain myrmecocystus@gmail.com
crossref_search, crossref_citation, crossref_search_free in the rcrossref
package.
## Not run: # Geta a short DOI, just the short DOI returned short_doi(doi = "10.1371/journal.pone.0042793") short_doi(doi = "10.1890/10-0340.1") # Geta a short DOI, all data returned short_doi(doi = "10.1371/journal.pone.0042793", justshort=FALSE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.