get_cm_functions: Get Calculated Metric Functions

View source: R/get_cm_functions.R

get_cm_functionsR Documentation

Get Calculated Metric Functions

Description

Returns a full list of calculated metric functions that the user can access.

Usage

get_cm_functions(
  id = NULL,
  debug = FALSE,
  company_id = Sys.getenv("AW_COMPANY_ID")
)

Arguments

id

Returns details around a single calculated metric function if you specify the id. You can obtain the desired id by not including an ID value and finding the function in the results.

debug

Set to TRUE to publish the full JSON request(s) being sent to the API to the console when the function is called. The default is FALSE.

company_id

Company ID. If an environment variable called AW_COMPANY_ID exists in .Renviron or elsewhere and no company_id argument is provided, then the AW_COMPANY_ID value will be used. Use get_me() to get a list of available company_id values.

Value

Returns a full list of calculated metric functions or a specified function that the user can access.


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