R/rr_publisher_all.R

Defines functions rr_publisher_all

Documented in rr_publisher_all

#' Get all Publisher Policies
#'
#' Retrieve all data on publishers policies from SHERPA/RoMEO.
#'
#' @inheritParams check_key
#'
#' @inherit parse_publisher return
#'
#' @inherit check_key details
#'
#' @export
rr_publisher_all <- function(key = NULL) {

  message("This function can take a long time to run, please be patient.")

  api_answer <- rr_GET(query = list(all = "yes",
                                    ak  = check_key(key)))

  parse_generic(api_answer)
}

Try the rromeo package in your browser

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

rromeo documentation built on March 13, 2020, 9:08 a.m.