This function checks if a calculated metric JSON string is valid
Usage
cm_val(
definition = NULL,
locale = "en_US",
migrating = FALSE,
debug = FALSE,
rsid = Sys.getenv("AW_REPORTSUITE_ID"),
company_id = Sys.getenv("AW_COMPANY_ID")
)Arguments
- definition
json string definition of a calculated metric
- locale
The location of the language. en-US is default.
- migrating
Include migration functions in validation. FALSE is default.
- debug
This enables the api call information to show in the console for help with debugging issues. default is FALSE
- rsid
Adobe report suite ID (RSID). If an environment variable called
AW_REPORTSUITE_IDexists in.Renvironor elsewhere and norsidargument is provided, then theAW_REPORTSUITE_IDvalue will be used. Useaw_get_reportsuites()to get a list of availablersidvalues.- company_id
Company ID. If an environment variable called
AW_COMPANY_IDexists in.Renvironor elsewhere and nocompany_idargument is provided, then theAW_COMPANY_IDvalue will be used. Useget_me()to get a list of availablecompany_idvalues.
Details
See more information here
