orcid_to_shorcid | R Documentation |
These functions produce ShOCRIDs (Short ORCIDs) from ORCIDs and vice versa.
orcid_to_shorcid(x)
shorcid_to_orcid(x)
x |
The ORCID(s) or ShORCID(s). |
Conversion ORCID to ShORCID occurs by detaching the last character (the
checksum) and storing it. Then in the first string of characters, all
non-numbers are removed and the resulting number is converted to a base 30
system with numericToBase30()
. The checksum is then re-attached. This is
one separately because the checksum can be X (i.e. the only character in an
ORCID that's not necessarily numeric). Conversion the other way around just
inverts the process (and so uses base30toNumeric()
).
The ShORCID(s) or ORCID(s), as a character vector.
orcid_to_shortcid("0000-0002-9540-5371");
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.