is_orcid: Check if an argument is an ORCID string

View source: R/id.R

is_orcidR Documentation

Check if an argument is an ORCID string

Description

Validates ORCID format including ISO/IEC 7064:2003, MOD 11-2 check digit verification.

Usage

is_orcid(x)

Arguments

x

(any)
Object to check.

Value

TRUE if x is a valid ORCID string, FALSE otherwise.

References

https://support.orcid.org/hc/en-us/articles/360006897674-Structure-of-the-ORCID-Identifier

Examples

is_orcid("0000-0002-1825-0097")

checkstring documentation built on Sept. 28, 2026, 5:07 p.m.