addProvider: add new provider

View source: R/SdmxClient.R

addProviderR Documentation

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 = "")

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

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

## End(Not run)

RJSDMX documentation built on Feb. 16, 2023, 6:10 p.m.