| ms_doi | R Documentation |
Each function accepts identifiers as typed by people or returned by APIs
(bare, with a prefix such as doi:, or as a resolver URL) and returns the
canonical bare form, or NA when the input is not a valid identifier. They
are vectorised and never call the network: a valid identifier is
well-formed, which does not prove that it is registered.
ms_doi(x, url = FALSE)
ms_orcid(x, url = FALSE)
ms_ror(x, url = FALSE)
x |
A character vector. |
url |
If |
ms_doi(): lower-cased 10.xxxx/suffix. DOIs are case-insensitive.
ms_orcid(): 0000-0000-0000-000X, with the ISO 7064 MOD 11-2 check
digit verified.
ms_ror(): the nine-character ROR ID, with its ISO 7064 MOD 97-10 check
digits verified.
A character vector the length of x.
ms_doi(c("https://doi.org/10.5281/ZENODO.23881633", "doi:10.1000/xyz", "nope"))
ms_orcid(c("https://orcid.org/0000-0002-1825-0097", "0000-0002-1825-0098"))
ms_ror("https://ror.org/03ths8210")
ms_ror("03ths8210", url = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.