check_orcid: Check validity of ORCiD

Description Usage Arguments Value Examples

View source: R/check_orcid.R

Description

Check validity of ORCiD

Usage

1
check_orcid(orcid)

Arguments

orcid

a 16-character ORCiD in bare or URL format

Value

a formatted 16-character ORCiD or FALSE

Examples

1
2
3
4
check_orcid("0000-0002-7523-5539")
check_orcid("0000-0002-0247-239X")
check_orcid("https://orcid.org/0000-0002-0247-239X")
check_orcid("0000-0002-0247-2394") # incorrect, return FALSE

debruine/pdsbuilder documentation built on July 8, 2020, 9:40 p.m.