as.orcid {rorcid} | R Documentation |
Convert an ORCID or something like an ORCID object
Description
Convert an ORCID or something like an ORCID object
Usage
as.orcid(x, ...)
Arguments
x |
An ORCID id, passed to |
... |
Further args passed on to |
Value
an S3 object of class or_cid
, which pretty prints
for brevity
Examples
## Not run:
as.orcid(x="0000-0002-1642-628X")
out <- orcid("text:English", rows = 20)
as.orcid(out$`orcid-identifier.path`[1])
# Passon further args to orcid_id()
as.orcid("0000-0002-1642-628X", verbose = TRUE)
# Browse to a profile
# browse(as.orcid("0000-0002-1642-628X"))
# many ORCIDs as a character vector
ids <- c("0000-0002-1642-628X", "0000-0002-9341-7985")
as.orcid(ids)
# many in a list via orcid_id()
(x <- lapply(ids, orcid_id))
as.orcid(x)
## End(Not run)
[Package rorcid version 0.7.0 Index]