View source: R/configuration.R
ridl_config | R Documentation |
Create and RIDL configuration object
Sets the configuration settings for using RIDL.
ridl_config(
site = "prod",
token = NULL,
key = NULL,
user_agent = NULL,
log_file = NULL,
...
)
ridl_config_set(
site = "prod",
token = NULL,
key = NULL,
user_agent = NULL,
log_file = NULL,
configuration = NULL,
...
)
ridl_config_setup(
site = "prod",
token = NULL,
key = NULL,
user_agent = NULL,
log_file = NULL,
configuration = NULL,
...
)
ridl_config_get()
site |
character, the RIDL instance, prod (production server), test (testing server) |
token |
character, the CKAN API token |
key |
character, the CKAN API key |
user_agent |
a character, A user agent string |
log_file |
character, the log file |
... |
curl options to pass to crul::HttpClient |
configuration |
RIDLConfig, the configuration |
Setting up a configuration will help you access from a RIDL server
A RIDLConfig object
Invisibly returns the ridl config object
## Not run:
# Setting the config to use RIDL default server
ridl_config_set(ridl_key = "xxxxxxxxxx")
# You can check your configuration using \code{ridl_config_get}
config <- ridl_config_get()
config
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.