R/timeseries_map_function.R

Defines functions addtimeseriesmetrics

#' Build the timeseries metrics json list
#' @noRd
#' @param metric The metric to add to the json list
#' @param id2 The number of items to add as the columnId
#'
addtimeseriesmetrics <- function(metric,id2) {
    structure(list(
      columnId = as.character(id2),
      id = sprintf('metrics/%s',metric),
      filters = list('0') ))
}

Try the adobeanalyticsr package in your browser

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

adobeanalyticsr documentation built on Nov. 9, 2023, 5:07 p.m.