View source: R/SDMXREST20RequestBuilder-methods.R
SDMXREST20RequestBuilder | R Documentation |
A experimental class to handle a SDMX 2.0 service request builder
SDMXREST20RequestBuilder(regUrl, repoUrl, accessKey = NULL, compliant,
unsupportedResources = list(), skipProviderId = FALSE, forceProviderId = FALSE,
headers = list())
regUrl |
an object of class "character" giving the base Url of the SDMX service registry |
repoUrl |
an object of class "character" giving the base Url of the SDMX service repository |
accessKey |
an object of class "character" indicating the name of request parameter for which an authentication or subscription user key/token has to be provided to perform requests |
compliant |
an object of class "logical" indicating if the web-service is compliant with the SDMX REST web-service specifications |
unsupportedResources |
an object of class "list" giving eventual unsupported REST resources. Default is an empty list object |
skipProviderId |
an object of class "logical" indicating that the provider agencyIdshould be skipped. Used to control lack of strong SDMX REST compliance from data providers. For now, it applies only for the "data" resource. |
forceProviderId |
an object of class "logical" indicating if the provider
agencyId has to be added at the end of the request. Default value is
|
headers |
an object of class "list" that contains any additional headers for the request. |
regUrl
an object of class "character" giving the base Url of the SDMX service registry
repoUrl
an object of class "character" giving the base Url of the SDMX service repository
accessKey
an object of class "character" indicating the name of request parameter for which an authentication or subscription user key/token has to be provided to perform requests
compliant
an object of class "logical" indicating if the web-service is compliant with the SDMX REST web-service specifications
This class is not useful in itself, but all SDMX non-abstract classes will encapsulate it as slot, when parsing an SDMX-ML document.
Emmanuel Blondel, emmanuel.blondel1@gmail.com
#how to create a SDMXREST20RequestBuilder
requestBuilder <- SDMXREST20RequestBuilder(
regUrl = "http://www.myorg/registry",
repoUrl = "http://www.myorg/repository", compliant = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.