Description Usage Arguments Details Value Examples
View source: R/configuration.R
Sets the configuration settings for using rhdx.
1 2 3 4 5 6 7 8 9 10 | 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. |
Setting up a configuration will help you access from an HDX server
Invisibly returns the rhdx config object
1 2 3 4 5 6 7 8 9 | ## Not run:
# 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
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.