Sets the configuration settings for using rhdx.
set_rhdx_config( hdx_site = "prod", hdx_key = NULL, read_only = TRUE, hdx_config = NULL, hdx_config_file = NULL, configuration = NULL ) get_rhdx_config()
| hdx_site | Character to specify which HDX server you want to use. Default to "prod". |
|---|---|
| hdx_key | Character for the CKAN API key, it is required to push data into HDX |
| read_only | Logical if |
| hdx_config | List of HDX configuration |
| hdx_config_file | Character, path of the HDX config file in JSON and YAML format |
| configuration | Configuration object. |
Invisibly returns the rhdx config object
Setting up a configuration will help you access from an HDX server
if (FALSE) { # Setting the config to use HDX default server set_rhdx_config(hdx_site = "demo") # You can check your configuration using \code{get_rhdx_config} config <- get_rhdx_config() config }