R/pmid2doi.R

Defines functions `doi2pmid` `pmid2doi`

#' Get a PMID from a DOI, and vice versa.
#'
#' @export
#' @rdname pmid2doi-defunct
#' @keywords internal
`pmid2doi` <- function(...){ # nocov start
  .Defunct(msg = "The web API behind this function is down indefinitely, 
           see id_converter()")
} # nocov end

#' @export
#' @rdname pmid2doi-defunct
`doi2pmid` <- function(...){ # nocov start
  .Defunct(msg = "The web API behind this function is down indefinitely, see id_converter()")
} # nocov end

Try the rcrossref package in your browser

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

rcrossref documentation built on Nov. 12, 2022, 1:17 a.m.