orcid_valid: Validate vector of ORCID

View source: R/orcid_valid.R

orcid_validR Documentation

Validate vector of ORCID

Description

Validate vector of ORCID based number of digits / format / checksum.

Usage

orcid_valid(data, orcid = "orcid", reason = FALSE, na.rm = FALSE)

Arguments

data

datafame containing a vector of ORCID

orcid

Column name of vector containing ORCID (default = "orcid")

reason

Logical value to determine whether output should include reasons for validity (default = FALSE) or vector of ORCID (TRUE).

na.rm

Remove NA (invalid ORCID) from output

Value

Vector of orcid (reason = FALSE) or tibble with columns specifying the validation checks failed by the ORCID ("check_" columns)


kamclean/collaborator documentation built on Nov. 17, 2023, 3:52 a.m.