R/orcid_external_identifiers.R

Defines functions orcid_external_identifiers

Documented in orcid_external_identifiers

#' Get external identifiers for a person
#'
#' @export
#' @inheritParams orcid_works 
#' @template deets
#'
#' @examples \dontrun{
#' # all data
#' res <- orcid_external_identifiers(orcid = "0000-0002-1642-628X")
#' res$`0000-0002-1642-628X`
#' names(res$`0000-0002-1642-628X`)
#' res$`0000-0002-1642-628X`$`external-identifier`
#' 
#' # individual records
#' orcid_external_identifiers(orcid = "0000-0002-1642-628X", 141736)
#' }
orcid_external_identifiers <- function(orcid, put_code = NULL, 
                                       format = "application/json", ...) {
  orcid_putcode_helper("external-identifiers", orcid, put_code, format, ...)
}
ropensci/rorcid documentation built on Sept. 12, 2022, 2:09 p.m.