cm_update | R Documentation |
Update a specific calculated metric.
cm_update(
id = NULL,
updates = NULL,
locale = "en_US",
debug = FALSE,
company_id = Sys.getenv("AW_COMPANY_ID")
)
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. |
updates |
List of changes or entire JSON definition object. |
locale |
All calculated metrics endpoints support the URL query parameter locale. Supported values are en_US, fr_FR, ja_JP, de_DE, es_ES, ko_KR, pt_BR, zh_CN, and zh_TW. This argument specifies which language is to be used for localized sections of responses. |
debug |
Set to |
company_id |
Company ID. If an environment variable called |
Returns a json string of information about the updated calculated metric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.