SDMXDotStatRequestBuilder: Class "SDMXDotStatRequestBuilder"

View source: R/SDMXDotStatRequestBuilder-methods.R

SDMXDotStatRequestBuilderR Documentation

Class "SDMXDotStatRequestBuilder"

Description

A experimental class to handle a SDMX DotStat (*.Stat) service request builder

Usage

SDMXDotStatRequestBuilder(regUrl, repoUrl, accessKey = NULL,
   unsupportedResources = list(), skipProviderId = FALSE, forceProviderId = FALSE,
   headers = list())

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

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

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 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.

forceProviderId

an object of class "logical" indicating if the provider agencyId has to be added at the end of the request. Default value is FALSE. For some providers, the all value for the provider agency id is not allowed, in this case, the agencyId of the data provider has to be forced in the web-request

headers

an object of class "list" that contains any additional headers for the request.

Slots

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 request builder is somehow compliant with a service specification

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.

Note

Internal class

dataflow' resource (path="GetKeyFamily/resourceID") datastructure' resource (path="GetDataStructure/resourceID/agencyID") data' resource (path="GetData/flowRef/key/agencyId")

Author(s)

Emmanuel Blondel, emmanuel.blondel1@gmail.com


rsdmx documentation built on Aug. 28, 2023, 5:09 p.m.