R/orcid_researcher_urls.R

Defines functions orcid_researcher_urls

Documented in orcid_researcher_urls

#' Get researcher urls for a person
#'
#' @export
#' @inheritParams orcid_works 
#' @template deets
#'
#' @examples \dontrun{
#' # all data
#' res <- orcid_researcher_urls(orcid = "0000-0003-1444-9135")
#' res$`0000-0003-1444-9135`
#' names(res$`0000-0003-1444-9135`)
#' res$`0000-0003-1444-9135`$`researcher-url`
#' 
#' # individual ones
#' orcid_researcher_urls("0000-0003-1444-9135", 304093)
#' orcid_researcher_urls("0000-0003-1444-9135", c(332241, 304093))
#' 
#' # formats
#' orcid_researcher_urls("0000-0003-1444-9135", 304093, 
#'   format = "application/xml")
#' }
orcid_researcher_urls <- function(orcid, put_code = NULL, 
                                  format = "application/json", ...) {
  orcid_putcode_helper("researcher-urls", orcid, put_code, format, ...)
}

Try the rorcid package in your browser

Any scripts or data that you put into this service are public.

rorcid documentation built on Jan. 21, 2021, 1:06 a.m.