Learn R Programming

rsdmx (version 0.5-0)

SDMXServiceProvider-class: Class "SDMXServiceProvider"

Description

A basic class to handle a SDMX service provider

Usage

SDMXServiceProvider(agencyId, name, builder)

Arguments

agencyId
an object of class "character" giving the a provider identifier
name
an object of class "character" giving the name of the provider
builder
an object of class "SDMXRequestBuilder" that will performs the web request building for this specific provider

Objects from the Class

are used by rsdmx to configure a list of default/well-known SDMX service providers, that are made available to readSDMX, and then allow users to query directly their SDMX service endpoint without having to specify the entire web request URLs.

Examples

Run this code
#let's create a SDMXRESTRequestBuilder
  #(assuming that "My Organization" implements SDMX REST web-services)
  myBuilder <- SDMXRESTRequestBuilder(baseUrl = "http://www.myorg.", suffix = TRUE)
                      
  #create a SDMXServiceProvider
  provider <- SDMXServiceProvider(agencyId = "MYORG", name = "My Organization", builder = myBuilder)

Run the code above in your browser using DataLab