Learn R Programming

RJSDMX (version 3.4-0)

addProvider: add new provider

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

addProvider(name, endpoint, needsCredentials = FALSE, needsURLEncoding = FALSE,
  supportsCompression = TRUE, description = "", sdmxVersion = "V2")

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

sdmxVersion

what sdmx version this provider supports

Examples

Run this code
if (FALSE) {
addProvider('test', 'http://sdw-wsrest.ecb.europa.eu/service', FALSE)
getProviders()
}

Run the code above in your browser using DataLab