R/paper_exists.R

Defines functions paper_exists

Documented in paper_exists

#' Check whether paper exists
#'
#' Check whether paper is in the data registry
#'
#' @param doi doi
#'
paper_exists <- function(doi) {
check_exists("external_object",
             list(doi_or_unique_name = paste0("doi://", doi)))
}

Try the rDataPipeline package in your browser

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

rDataPipeline documentation built on Nov. 18, 2021, 1:14 a.m.