View source: R/SDMXServiceProvider-methods.R
| SDMXServiceProvider | R Documentation |
A basic class to handle a SDMX service provider
SDMXServiceProvider(agencyId, name, scale, country, builder)
agencyId |
an object of class "character" giving the a provider identifier |
name |
an object of class "character" giving the name of the provider |
scale |
an object of class "character" giving the scale of the datasource, either "international" or "national". Default value is "international". |
country |
an object of class "character" giving the ISO 3-alpha code of
the country (if scale is "national"). Default value is |
builder |
an object of class "SDMXRequestBuilder" that will performs the web request building for this specific provider |
an object of class "SDMXServiceProvider"
agencyIdan object of class "character" giving the a provider identifier
namean object of class "character" giving the name of the provider
scalean object of class "character" giving the scale of the datasource, either "international" or "national"
countryan object of class "character" giving the ISO 3-alpha code of the country (if scale is "national")
builderan object of class "SDMXRequestBuilder" that will performs the web request building
Emmanuel Blondel, emmanuel.blondel1@gmail.com
#let's create a SDMXRESTRequestBuilder
#(assuming that "My Organization" implements SDMX REST web-services)
myBuilder <- SDMXREST20RequestBuilder(regUrl = "http://www.myorg.org/registry",
repoUrl = "http://www.myorg.org/repository",
compliant = TRUE)
#create a SDMXServiceProvider
provider <- SDMXServiceProvider(agencyId = "MYORG", name = "My Organization",
builder = myBuilder)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.