You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# ==============================================================================
|
|
|
|
#
|
|
|
|
#' Get count statistics of the openSenseMap Instance
|
|
|
|
#'
|
|
|
|
#' Provides information on number of senseBoxes, measurements, and measurements per minute.
|
|
|
|
#'
|
|
|
|
#' @details Note that the API caches these values for 5 minutes.
|
|
|
|
#'
|
|
|
|
#' @param endpoint The URL of the openSenseMap API
|
|
|
|
#' @return A named \code{list} containing the counts
|
|
|
|
#'
|
|
|
|
#' @export
|
|
|
|
#' @seealso \href{https://docs.opensensemap.org/#api-Misc-getStatistics}{openSenseMap API documentation (web)}
|
|
|
|
osem_counts = function(endpoint = osem_endpoint(), cache = NA) {
|
|
|
|
get_stats_(endpoint, cache)
|
|
|
|
}
|