Generates check digit as per ISO 7064 11,2. The last character in the ORCID ID is a checksum. In accordance with ISO/IEC 7064:2003, MOD 11-2, this checksum must be "0-9" or "X", a capital letter X which represents the value 10.

validate_orcid(orcid)

Arguments

orcid

An orcid in the 0000-0000-0000-0000 format

Value

Logical. TRUE if check digit is correct.

Examples

validate_orcid("0000-0002-6378-6229")
#> [1] TRUE