validate_orcid: validate an ORCID string

View source: R/check_helpers.R

validate_orcidR Documentation

validate an ORCID string

Description

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.

Usage

validate_orcid(orcid)

Arguments

orcid

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

Value

Logical. TRUE if check digit is correct.

See Also

Other check: check_all(), check_all_author_info(), check_frontmatter(), check_structure(), protocolcheck

Examples

validate_orcid("0000-0002-6378-6229")

inbo/protocolshelper documentation built on Sept. 6, 2024, 9:15 p.m.