SDMXRESTRequestBuilder: Class "SDMXRESTRequestBuilder"
Description
A experimental class to handle a SDMX 2.1 service request builderUsage
SDMXRESTRequestBuilder(regUrl, repoUrl, compliant, unsupportedResources,
skipAgencyId, forceAgencyId)
Arguments
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
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
skipAgencyId
an object of class "logical" indicating that agencyId
should be skipped. Used to control lack of strong SDMX REST compliance
from data providers. For now, it applies only for the "data" resource.
forceAgencyId
an object of class "logical" indicating if the agencyId
as to be added at the end of the request. Default value is FALSE
.
For some providers, the all
value for the agencyId
is not
allowed, in
Warning
This class is not useful in itself, but all SDMX non-abstract classes will
encapsulate it as slot, when parsing an SDMX-ML document.Examples
Run this code#how to create a SDMXRESTRequestBuilder
requestBuilder <- SDMXRESTRequestBuilder(
regUrl = "http://www.myorg/registry",
repoUrl = "http://www.myorg/repository",
compliant = TRUE)
Run the code above in your browser using DataLab