add new provider

Share:

Description

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.

Usage

1
2
addProvider(name, endpoint, needsCredentials = FALSE, needsURLEncoding = FALSE,
  supportsCompression = TRUE, description = "")

Arguments

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

Examples

1
2
3
4
5
## Not run: 
addProvider('test', 'http://sdw-wsrest.ecb.europa.eu/service', FALSE)
getProviders()

## End(Not run)