addProvider | R Documentation |
Configure a new data provider (only SDMX 2.1 REST providers are supported). This function can be used to configure a new (SDMX 2.1 compliant, REST based) data provider.
addProvider(name, endpoint, needsCredentials = FALSE, needsURLEncoding = FALSE,
supportsCompression = TRUE, description = "", sdmxVersion = "V2",
supportsAvailability = F)
name |
the name of the provider |
endpoint |
the URL where the provider resides |
needsCredentials |
set this to TRUE if the user needs to authenticate to query the provider |
needsURLEncoding |
set this to TRUE if the provider does not handle character '+' in URLs |
supportsCompression |
set this to TRUE if the provider is able to handle compression |
description |
a brief text description of the provider |
supportsAvailability |
set this to TRUE if the provider is able to handle availability queries |
sdmxVersion |
what sdmx version this provider supports |
## Not run:
addProvider('test', 'http://sdw-wsrest.ecb.europa.eu/service', FALSE)
getProviders()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.