R/pl_status.R

Defines functions pl_status

Documented in pl_status

#' Get Pleiades status data, number of places, number of locations,
#' number of names
#'
#' @export
#' @param ... Curl options, see `curl::curl_options()`
#' @examples \dontrun{
#' pl_status()
#' }
pl_status <- function(...) {
  tt <- pl_GET(file.path(pl_base(), 'status'), ...)
  jsonlite::fromJSON(tt)
}
ropensci/pleiades documentation built on Jan. 1, 2021, 2:57 p.m.