R/metrics.R

Defines functions metrics

Documented in metrics

#' Metrics Data
#'
#' This endpoint lists the available metrics for usage with timelines.
#'
#' @param endpoint A string containing the appropriate endpoint.
#'
#' @return A list of the metrics to use with timelines.
#' @export
metrics <- function(endpoint = "metrics") {
  url <- url_builder(endpoint)
  get_and_clean(url)$data
}
kadekillary/brandindexr documentation built on July 30, 2023, 1:14 a.m.