A class to handle a SDMX service request params
SDMXRequestParams(regUrl, repoUrl, accessKey,
providerId, agencyId, resource, resourceId, version,
flowRef, key, start, end, references = NULL, compliant)an object of class "character" giving the base Url of the SDMX service registry
an object of class "character" giving the base Url of the SDMX service repository
an oject of class "character" giving the eventual authentication or subscription user key (or token) to provide in order to perform the SDMX request. This key may be mandatory for some service providers.
an object of class "character" giving the provider agency id
an object of class "character" giving an agency id
an object of class "character" giving the type of resource to be queried
an object of class "character" giving the resource to be queried
an object of class "character" giving the resource version
an object of class "character" giving the flowRef to be queried
an object of class "character" giving the key (SDMX url formatted) to be used for the query
an object of class "character" giving the start time
an object of class "character" giving the end time
an object of class "character" giving the instructions to return (or not) the artefacts referenced by the artefact to be returned
an object of class "logical" indicating if the web-service is compliant with the SDMX REST web-service specifications
regUrlan object of class "character" giving the base Url of the SDMX service registry
repoUrlan object of class "character" giving the base Url of the SDMX service repository
accessKeyan 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
providerIdan object of class "character" giving the provider agency Id
agencyIdan object of class "character" giving an agency Id
resourcean object of class "character" giving the type of resource to be queried
resourceIdan object of class "character" giving the resource to be queried
versionan object of class "character" giving the resource version
flowRefan object of class "character" giving the flowRef to be queried
keyan object of class "character" giving the key (SDMX url formatted) to be used for the query
startan object of class "character" giving the start time
endan object of class "character" giving the end time
referencesan object of class "character" giving the instructions to return (or not) the artefacts referenced by the artefact to be returned
compliantan 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 SDMXRequestParams object
params <- SDMXRequestParams(
regUrl = "", repoUrl ="", accessKey = NULL,
providerId = "", agencyId ="", resource = "data", resourceId = "",
version = "", flowRef = "", key = NULL, start = NULL, end = NULL,
references = NULL, compliant = FALSE
)
Run the code above in your browser using DataLab