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)

Arguments

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 `FALSE` and hdx_key provided is correct you can push metdata and data to HDX

hdx_config_file

Character config file path, it can either a `JSON` or a `YAML`.

configuration

Configuration object.

Value

Invisibly returns the rhdx config object

Details

Setting up a configuration will help you access and push data into HDX

Examples

# NOT RUN {
# Setting the config to use HDX default server
set_rhdx_config(hdx_site = "prod")


# You can check your configuration using \code{get_rhdx_config}
config <- get_rhdx_config()
# }