View source: R/admin_functions.R
imf_app_name | R Documentation |
Set a unique application name to be used in requests to the IMF API as a hidden environment variable
imf_app_name(name = "imfr")
name |
A string representing the application name. Default is "imfr". |
The 'imf_app_name' function sets the application name that will be used in the request header when making API calls to the IMF API. The IMF API has an application-based rate limit of 50 requests per second, with the application identified by the "user_agent" variable in the request header. The function sets the application name by changing the 'IMF_APP_NAME' hidden variable in ‘.Renviron'. If this variable doesn’t exist, 'imf_app_name' will create it.
Invisible NULL
imf_app_name("my_custom_app_name")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.