From f26eabf60bbeefcc310dccd6c88ab74acca3da3a Mon Sep 17 00:00:00 2001 From: eblondel Date: Mon, 16 Dec 2024 20:21:46 +0100 Subject: [PATCH] exports --- NAMESPACE | 44 +++++++++++++++++++ R/SDMX-methods.R | 3 +- R/SDMXAgency-methods.R | 3 +- R/SDMXAgencyScheme-methods.R | 3 +- R/SDMXAttribute-methods.R | 3 +- R/SDMXCode-methods.R | 3 +- R/SDMXCodelist-methods.R | 3 +- R/SDMXCodelists-methods.R | 3 +- R/SDMXCompactData-methods.R | 3 +- R/SDMXComponents-methods.R | 3 +- R/SDMXConcept-methods.R | 3 +- R/SDMXConceptScheme-methods.R | 3 +- R/SDMXConcepts-methods.R | 3 +- R/SDMXCrossSectionalData-methods.R | 3 +- R/SDMXData-methods.R | 3 +- R/SDMXDataFlow-methods.R | 3 +- R/SDMXDataFlows-methods.R | 3 +- R/SDMXDataStructure-methods.R | 3 +- R/SDMXDataStructureDefinition-methods.R | 3 +- R/SDMXDataStructures-methods.R | 3 +- R/SDMXDimension-methods.R | 3 +- R/SDMXDotStatRequestBuilder-methods.R | 1 + R/SDMXFooter-methods.R | 3 +- R/SDMXFooterMessage-methods.R | 3 +- R/SDMXGenericData-methods.R | 3 +- R/SDMXHeader-methods.R | 3 +- R/SDMXMessageGroup-methods.R | 3 +- R/SDMXOrganisation-methods.R | 3 +- R/SDMXOrganisationSchemes-methods.R | 3 +- R/SDMXPrimaryMeasure-methods.R | 3 +- R/SDMXREST20RequestBuilder-methods.R | 3 +- R/SDMXREST21RequestBuilder-methods.R | 3 +- R/SDMXRequestBuilder-methods.R | 3 +- R/SDMXRequestParams-methods.R | 3 +- R/SDMXSchema-methods.R | 1 + R/SDMXServiceProvider-methods.R | 2 + R/SDMXServiceProviders-methods.R | 2 + R/SDMXStructureSpecificData-methods.R | 2 + ...XStructureSpecificTimeSeriesData-methods.R | 2 + R/SDMXStructureType-methods.R | 2 + R/SDMXTimeDimension-methods.R | 2 + R/SDMXType-methods.R | 2 + R/SDMXUtilityData-methods.R | 1 + R/readSDMX.R | 2 + R/rsdmx_logger.R | 3 +- R/saveSDMX.R | 2 + man/SDMXREST20RequestBuilder.Rd | 1 - man/SDMXREST21RequestBuilder.Rd | 1 - man/SDMXRequestBuilder.Rd | 1 - man/SDMXRequestParams.Rd | 1 - man/saveSDMX.Rd | 2 +- 51 files changed, 132 insertions(+), 38 deletions(-) diff --git a/NAMESPACE b/NAMESPACE index 668d556..27f40a3 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -14,8 +14,52 @@ S3method(as.data.frame,SDMXServiceProviders) S3method(as.data.frame,SDMXStructureSpecificData) S3method(as.data.frame,SDMXStructureSpecificTimeSeriesData) S3method(as.data.frame,SDMXUtilityData) +export(SDMX) +export(SDMXAgency) +export(SDMXAgencyScheme) +export(SDMXAttribute) +export(SDMXCode) +export(SDMXCodelist) +export(SDMXCodelists) +export(SDMXCompactData) +export(SDMXComponents) +export(SDMXConcept) +export(SDMXConceptScheme) +export(SDMXConcepts) +export(SDMXCrossSectionalData) +export(SDMXData) +export(SDMXDataFlow) +export(SDMXDataFlows) +export(SDMXDataStructure) +export(SDMXDataStructureDefinition) +export(SDMXDataStructures) +export(SDMXDimension) +export(SDMXDotStatRequestBuilder) +export(SDMXFooter) +export(SDMXFooterMessage) +export(SDMXGenericData) +export(SDMXHeader) +export(SDMXMessageGroup) +export(SDMXOrganisation) +export(SDMXOrganisationSchemes) +export(SDMXPrimaryMeasure) +export(SDMXREST20RequestBuilder) +export(SDMXREST21RequestBuilder) +export(SDMXRequestBuilder) +export(SDMXRequestParams) +export(SDMXSchema) +export(SDMXServiceProvider) +export(SDMXServiceProviders) +export(SDMXStructureSpecificData) +export(SDMXStructureSpecificTimeSeriesData) +export(SDMXStructureType) +export(SDMXTimeDimension) +export(SDMXType) +export(SDMXUtilityData) export(getStructureType) +export(readSDMX) export(rsdmxLogger) +export(saveSDMX) import(R6) import(XML) import(httr) diff --git a/R/SDMX-methods.R b/R/SDMX-methods.R index a82518c..c58940f 100644 --- a/R/SDMX-methods.R +++ b/R/SDMX-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMX" #' #' @seealso \link{readSDMX} - +#' @export +#' SDMX <- function(xmlObj, namespaces){ schema <- SDMXSchema(xmlObj, namespaces); header <- SDMXHeader(xmlObj, namespaces); diff --git a/R/SDMXAgency-methods.R b/R/SDMXAgency-methods.R index 317b065..925c02c 100644 --- a/R/SDMXAgency-methods.R +++ b/R/SDMXAgency-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXAgency" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXAgency <- function(xmlObj, namespaces){ obj <- organisation.SDMXOrganisation(xmlObj, namespaces, "SDMXAgency") } \ No newline at end of file diff --git a/R/SDMXAgencyScheme-methods.R b/R/SDMXAgencyScheme-methods.R index e1e5874..1ec4f8c 100644 --- a/R/SDMXAgencyScheme-methods.R +++ b/R/SDMXAgencyScheme-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXAgencyScheme" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXAgencyScheme <- function(xmlObj, namespaces){ messageNs <- findNamespace(namespaces, "message") diff --git a/R/SDMXAttribute-methods.R b/R/SDMXAttribute-methods.R index 8b47bb6..cef259b 100644 --- a/R/SDMXAttribute-methods.R +++ b/R/SDMXAttribute-methods.R @@ -11,7 +11,8 @@ #' @return an object of class "SDMXAttribute" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXAttribute <- function(xmlObj, namespaces){ messageNs <- findNamespace(namespaces, "message") diff --git a/R/SDMXCode-methods.R b/R/SDMXCode-methods.R index 286f140..a0f25da 100644 --- a/R/SDMXCode-methods.R +++ b/R/SDMXCode-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXCode" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXCode <- function(xmlObj, namespaces){ messageNs <- findNamespace(namespaces, "message") diff --git a/R/SDMXCodelist-methods.R b/R/SDMXCodelist-methods.R index b99720e..85cfb4c 100644 --- a/R/SDMXCodelist-methods.R +++ b/R/SDMXCodelist-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXCodelist" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXCodelist <- function(xmlObj, namespaces){ messageNs <- findNamespace(namespaces, "message") diff --git a/R/SDMXCodelists-methods.R b/R/SDMXCodelists-methods.R index 4d6cf54..97c65f8 100644 --- a/R/SDMXCodelists-methods.R +++ b/R/SDMXCodelists-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXCodelists" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXCodelists <- function(xmlObj, namespaces){ new("SDMXCodelists", SDMX(xmlObj, namespaces), diff --git a/R/SDMXCompactData-methods.R b/R/SDMXCompactData-methods.R index d6d0e7a..8a63fca 100644 --- a/R/SDMXCompactData-methods.R +++ b/R/SDMXCompactData-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXCompactData" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXCompactData <- function(xmlObj, namespaces){ new("SDMXCompactData", SDMXData(xmlObj, namespaces) diff --git a/R/SDMXComponents-methods.R b/R/SDMXComponents-methods.R index e89a193..9f282d1 100644 --- a/R/SDMXComponents-methods.R +++ b/R/SDMXComponents-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXComponents" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXComponents <- function(xmlObj, namespaces){ new("SDMXComponents", Dimensions = dimensions.SDMXComponents(xmlObj, namespaces), diff --git a/R/SDMXConcept-methods.R b/R/SDMXConcept-methods.R index 8eda13d..d2edfad 100644 --- a/R/SDMXConcept-methods.R +++ b/R/SDMXConcept-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXConcept" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXConcept <- function(xmlObj, namespaces){ messageNs <- findNamespace(namespaces, "message") diff --git a/R/SDMXConceptScheme-methods.R b/R/SDMXConceptScheme-methods.R index 29f3ffb..309cd28 100644 --- a/R/SDMXConceptScheme-methods.R +++ b/R/SDMXConceptScheme-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXConceptScheme" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXConceptScheme <- function(xmlObj, namespaces){ messageNs <- findNamespace(namespaces, "message") diff --git a/R/SDMXConcepts-methods.R b/R/SDMXConcepts-methods.R index 61b7cb2..0cc21ff 100644 --- a/R/SDMXConcepts-methods.R +++ b/R/SDMXConcepts-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXConcepts" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXConcepts <- function(xmlObj, namespaces){ new("SDMXConcepts", SDMX(xmlObj, namespaces), diff --git a/R/SDMXCrossSectionalData-methods.R b/R/SDMXCrossSectionalData-methods.R index 15efd44..9581000 100644 --- a/R/SDMXCrossSectionalData-methods.R +++ b/R/SDMXCrossSectionalData-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXCrossSectionalData" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXCrossSectionalData <- function(xmlObj, namespaces){ new("SDMXCrossSectionalData", SDMXData(xmlObj, namespaces) diff --git a/R/SDMXData-methods.R b/R/SDMXData-methods.R index 38463f2..593c9ee 100644 --- a/R/SDMXData-methods.R +++ b/R/SDMXData-methods.R @@ -11,7 +11,8 @@ #' @return an object of class "SDMXData" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXData <- function(xmlObj, namespaces){ sdmxObj <- SDMX(xmlObj, namespaces) diff --git a/R/SDMXDataFlow-methods.R b/R/SDMXDataFlow-methods.R index 737bb5a..612b9a6 100644 --- a/R/SDMXDataFlow-methods.R +++ b/R/SDMXDataFlow-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXDataFlow" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXDataFlow <- function(xmlObj, namespaces){ messageNs <- findNamespace(namespaces, "message") diff --git a/R/SDMXDataFlows-methods.R b/R/SDMXDataFlows-methods.R index 2423e2f..8428fb6 100644 --- a/R/SDMXDataFlows-methods.R +++ b/R/SDMXDataFlows-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXDataFlows" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXDataFlows <- function(xmlObj, namespaces){ new("SDMXDataFlows", SDMX(xmlObj, namespaces), diff --git a/R/SDMXDataStructure-methods.R b/R/SDMXDataStructure-methods.R index e7ca8b3..a57afcc 100644 --- a/R/SDMXDataStructure-methods.R +++ b/R/SDMXDataStructure-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXDataStructure" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXDataStructure <- function(xmlObj, namespaces){ sdmxVersion <- version.SDMXSchema(xmlDoc(xmlObj), namespaces) diff --git a/R/SDMXDataStructureDefinition-methods.R b/R/SDMXDataStructureDefinition-methods.R index 5c15f4f..6de42b2 100644 --- a/R/SDMXDataStructureDefinition-methods.R +++ b/R/SDMXDataStructureDefinition-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXDataStructureDefinition" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXDataStructureDefinition <- function(xmlObj, namespaces){ new("SDMXDataStructureDefinition", SDMX(xmlObj, namespaces), diff --git a/R/SDMXDataStructures-methods.R b/R/SDMXDataStructures-methods.R index 8adcfed..f5dc0f4 100644 --- a/R/SDMXDataStructures-methods.R +++ b/R/SDMXDataStructures-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXDataStructures" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXDataStructures <- function(xmlObj, namespaces){ new("SDMXDataStructures", SDMX(xmlObj, namespaces), diff --git a/R/SDMXDimension-methods.R b/R/SDMXDimension-methods.R index fca3c6f..2139602 100644 --- a/R/SDMXDimension-methods.R +++ b/R/SDMXDimension-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXDimension" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXDimension <- function(xmlObj, namespaces){ sdmxVersion <- version.SDMXSchema(xmlDoc(xmlObj), namespaces) diff --git a/R/SDMXDotStatRequestBuilder-methods.R b/R/SDMXDotStatRequestBuilder-methods.R index bc7b30b..024279c 100644 --- a/R/SDMXDotStatRequestBuilder-methods.R +++ b/R/SDMXDotStatRequestBuilder-methods.R @@ -24,6 +24,7 @@ #' @param headers an object of class "list" that contains any additional headers for the request. #' #'@note Internal class +#' @export #' SDMXDotStatRequestBuilder <- function(regUrl, repoUrl, accessKey = NULL, unsupportedResources = list(), diff --git a/R/SDMXFooter-methods.R b/R/SDMXFooter-methods.R index 92a6ac0..691a302 100644 --- a/R/SDMXFooter-methods.R +++ b/R/SDMXFooter-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXFooter" #' #' @seealso \link{readSDMX} - +#' @export +#' SDMXFooter <- function(xmlObj, namespaces){ messageList = list() diff --git a/R/SDMXFooterMessage-methods.R b/R/SDMXFooterMessage-methods.R index d044c43..3a2f3fa 100644 --- a/R/SDMXFooterMessage-methods.R +++ b/R/SDMXFooterMessage-methods.R @@ -9,7 +9,8 @@ #' @return an object of class "SDMXFooterMessage" #' #' @seealso \link{SDMXFooter} \link{readSDMX} - +#' @export +#' SDMXFooterMessage <- function(xmlObj){ #code diff --git a/R/SDMXGenericData-methods.R b/R/SDMXGenericData-methods.R index 178cede..30ba2fa 100644 --- a/R/SDMXGenericData-methods.R +++ b/R/SDMXGenericData-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXGenericData" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXGenericData <- function(xmlObj, namespaces){ new("SDMXGenericData", SDMXData(xmlObj, namespaces) diff --git a/R/SDMXHeader-methods.R b/R/SDMXHeader-methods.R index 7e797c2..f6f99ba 100644 --- a/R/SDMXHeader-methods.R +++ b/R/SDMXHeader-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXHeader" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXHeader <- function(xmlObj, namespaces){ sdmxVersion <- version.SDMXSchema(xmlObj, namespaces) diff --git a/R/SDMXMessageGroup-methods.R b/R/SDMXMessageGroup-methods.R index 5aee534..fb81c1c 100644 --- a/R/SDMXMessageGroup-methods.R +++ b/R/SDMXMessageGroup-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXMessageGroup" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXMessageGroup <- function(xmlObj, namespaces){ new("SDMXMessageGroup", SDMXData(xmlObj, namespaces) diff --git a/R/SDMXOrganisation-methods.R b/R/SDMXOrganisation-methods.R index 2ff76e5..29c6d74 100644 --- a/R/SDMXOrganisation-methods.R +++ b/R/SDMXOrganisation-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXOrganisation" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXOrganisation <- function(xmlObj, namespaces){ obj <- organisation.SDMXOrganisation(xmlObj, namespaces, "SDMXOrganisation") } diff --git a/R/SDMXOrganisationSchemes-methods.R b/R/SDMXOrganisationSchemes-methods.R index 0464134..f872185 100644 --- a/R/SDMXOrganisationSchemes-methods.R +++ b/R/SDMXOrganisationSchemes-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "OrganisationSchemes" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXOrganisationSchemes <- function(xmlObj, namespaces){ new("SDMXOrganisationSchemes", SDMX(xmlObj, namespaces), diff --git a/R/SDMXPrimaryMeasure-methods.R b/R/SDMXPrimaryMeasure-methods.R index a19c738..8428c26 100644 --- a/R/SDMXPrimaryMeasure-methods.R +++ b/R/SDMXPrimaryMeasure-methods.R @@ -10,7 +10,8 @@ #' @return an object of class "SDMXPrimaryMeasure" #' #' @seealso \link{readSDMX} -#' +#' @export +#' SDMXPrimaryMeasure <- function(xmlObj, namespaces){ sdmxVersion <- version.SDMXSchema(xmlDoc(xmlObj), namespaces) diff --git a/R/SDMXREST20RequestBuilder-methods.R b/R/SDMXREST20RequestBuilder-methods.R index dc459ba..f59d84f 100644 --- a/R/SDMXREST20RequestBuilder-methods.R +++ b/R/SDMXREST20RequestBuilder-methods.R @@ -32,7 +32,8 @@ #' requestBuilder <- SDMXREST20RequestBuilder( #' regUrl = "http://www.myorg/registry", #' repoUrl = "http://www.myorg/repository", compliant = FALSE) -#' +#' @export +#' SDMXREST20RequestBuilder <- function(regUrl, repoUrl, accessKey = NULL, compliant, unsupportedResources = list(), skipProviderId = FALSE, forceProviderId = FALSE, diff --git a/R/SDMXREST21RequestBuilder-methods.R b/R/SDMXREST21RequestBuilder-methods.R index ce339c2..e575a00 100644 --- a/R/SDMXREST21RequestBuilder-methods.R +++ b/R/SDMXREST21RequestBuilder-methods.R @@ -33,7 +33,8 @@ #' regUrl = "http://www.myorg/registry", #' repoUrl = "http://www.myorg/repository", #' compliant = TRUE) -#' +#' @export +#' SDMXREST21RequestBuilder <- function(regUrl, repoUrl, accessKey = NULL, compliant, unsupportedResources = list(), skipProviderId = FALSE, forceProviderId = FALSE, diff --git a/R/SDMXRequestBuilder-methods.R b/R/SDMXRequestBuilder-methods.R index d7e92ba..0ebe6b4 100644 --- a/R/SDMXRequestBuilder-methods.R +++ b/R/SDMXRequestBuilder-methods.R @@ -65,7 +65,8 @@ #' repoUrl = "http://www.myorg.org/repository", #' accessKey = NULL, #' formatter = myFormatter, handler = myHandler, compliant = FALSE) -#' +#' @export +#' SDMXRequestBuilder <- function(regUrl, repoUrl, accessKey = NULL, formatter, handler, compliant, unsupportedResources = list(), headers = list()){ diff --git a/R/SDMXRequestParams-methods.R b/R/SDMXRequestParams-methods.R index 2c65ec4..d2d2644 100644 --- a/R/SDMXRequestParams-methods.R +++ b/R/SDMXRequestParams-methods.R @@ -30,7 +30,8 @@ #' providerId = "", agencyId ="", resource = "data", resourceId = "", #' version = "", flowRef = "", key = NULL, start = NULL, end = NULL, compliant = FALSE #' ) -#' +#' @export +#' SDMXRequestParams <- function(regUrl, repoUrl, accessKey, providerId, agencyId, resource, resourceId, version = NULL, flowRef, key = NULL, start = NULL, end = NULL, compliant){ new("SDMXRequestParams", diff --git a/R/SDMXSchema-methods.R b/R/SDMXSchema-methods.R index 0a92146..3df1649 100644 --- a/R/SDMXSchema-methods.R +++ b/R/SDMXSchema-methods.R @@ -10,6 +10,7 @@ #' @return an object of class "SDMXSchema" #' #' @seealso \link{readSDMX} +#' @export #' SDMXSchema <- function(xmlObj, namespaces) { diff --git a/R/SDMXServiceProvider-methods.R b/R/SDMXServiceProvider-methods.R index dc87749..b3ba7be 100644 --- a/R/SDMXServiceProvider-methods.R +++ b/R/SDMXServiceProvider-methods.R @@ -28,6 +28,8 @@ #' provider <- SDMXServiceProvider(agencyId = "MYORG", name = "My Organization", #' builder = myBuilder) #' +#' @export +#' SDMXServiceProvider <- function(agencyId, name, scale = "international", country = as.character(NA), builder) { diff --git a/R/SDMXServiceProviders-methods.R b/R/SDMXServiceProviders-methods.R index 92cd1dd..204efaf 100644 --- a/R/SDMXServiceProviders-methods.R +++ b/R/SDMXServiceProviders-methods.R @@ -8,6 +8,8 @@ #' @param providers an object of class "list" (of \link{SDMXServiceProvider}) #' configured by default and/or at runtime in \pkg{rsdmx} #' @return an object of class "SDMXServiceProviders" +#' +#' @export #' SDMXServiceProviders <- function(providers) { new("SDMXServiceProviders", providers = providers); diff --git a/R/SDMXStructureSpecificData-methods.R b/R/SDMXStructureSpecificData-methods.R index 0d313c6..450314f 100644 --- a/R/SDMXStructureSpecificData-methods.R +++ b/R/SDMXStructureSpecificData-methods.R @@ -10,6 +10,8 @@ #' @return an object of class "SDMXStructureSpecificData" #' #' @seealso \link{readSDMX} +#' +#' @export #' SDMXStructureSpecificData <- function(xmlObj, namespaces){ new("SDMXStructureSpecificData", diff --git a/R/SDMXStructureSpecificTimeSeriesData-methods.R b/R/SDMXStructureSpecificTimeSeriesData-methods.R index 6072242..6420fda 100644 --- a/R/SDMXStructureSpecificTimeSeriesData-methods.R +++ b/R/SDMXStructureSpecificTimeSeriesData-methods.R @@ -10,6 +10,8 @@ #' @return an object of class "SDMXStructureSpecificTimeSeriesData" #' #' @seealso \link{readSDMX} +#' +#' @export #' SDMXStructureSpecificTimeSeriesData <- function(xmlObj, namespaces){ new("SDMXStructureSpecificTimeSeriesData", diff --git a/R/SDMXStructureType-methods.R b/R/SDMXStructureType-methods.R index 42b0632..ea443be 100644 --- a/R/SDMXStructureType-methods.R +++ b/R/SDMXStructureType-methods.R @@ -13,6 +13,8 @@ #' @return an object of class "SDMXStructureType" #' #' @seealso \link{readSDMX} +#' +#' @export #' SDMXStructureType <- function(xmlObj, namespaces, resource){ new("SDMXStructureType", diff --git a/R/SDMXTimeDimension-methods.R b/R/SDMXTimeDimension-methods.R index 4859fdc..cc8422b 100644 --- a/R/SDMXTimeDimension-methods.R +++ b/R/SDMXTimeDimension-methods.R @@ -10,6 +10,8 @@ #' @return an object of class "SDMXTimeDimension" #' #' @seealso \link{readSDMX} +#' +#' @export #' SDMXTimeDimension <- function(xmlObj, namespaces){ diff --git a/R/SDMXType-methods.R b/R/SDMXType-methods.R index 8dcb6a6..539c46b 100644 --- a/R/SDMXType-methods.R +++ b/R/SDMXType-methods.R @@ -19,6 +19,8 @@ #' - \code{MessageGroupType} #' #' @seealso \link{readSDMX} +#' +#' @export #' SDMXType <- function(xmlObj){ new("SDMXType", type = type.SDMXType(xmlObj)); diff --git a/R/SDMXUtilityData-methods.R b/R/SDMXUtilityData-methods.R index 7b49694..88aa03b 100644 --- a/R/SDMXUtilityData-methods.R +++ b/R/SDMXUtilityData-methods.R @@ -10,6 +10,7 @@ #' @return an object of class "SDMXUtilityData" #' #' @seealso \link{readSDMX} +#' @export #' SDMXUtilityData <- function(xmlObj, namespaces){ new("SDMXUtilityData", diff --git a/R/readSDMX.R b/R/readSDMX.R index 4b577f4..2f1c8bc 100644 --- a/R/readSDMX.R +++ b/R/readSDMX.R @@ -62,6 +62,8 @@ #' @param headers an object of class "list" that contains any additional headers for the request. #' @param ... (any other parameter to pass to httr::GET request) #' +#' @export +#' #' @return an object of class "SDMX" #' #' @examples diff --git a/R/rsdmx_logger.R b/R/rsdmx_logger.R index 80e0512..897aa7d 100644 --- a/R/rsdmx_logger.R +++ b/R/rsdmx_logger.R @@ -19,7 +19,8 @@ #' } #' #' @note Logger class used internally by rsdmx -#' +#' @export +#' rsdmxLogger <- R6Class("rsdmxLogger", private = list( enabled = FALSE, diff --git a/R/saveSDMX.R b/R/saveSDMX.R index 89ac1da..0ae594c 100644 --- a/R/saveSDMX.R +++ b/R/saveSDMX.R @@ -13,6 +13,8 @@ #' sdmx <- system.file("extdata","Example_Eurostat_2.0.xml", package="rsdmx") #' saveSDMX(sdmx, "sdmx.rda") #' } +#' +#' @export #' #' @author Emmanuel Blondel, \email{emmanuel.blondel1@@gmail.com} #' diff --git a/man/SDMXREST20RequestBuilder.Rd b/man/SDMXREST20RequestBuilder.Rd index 4694ed4..f09f22a 100644 --- a/man/SDMXREST20RequestBuilder.Rd +++ b/man/SDMXREST20RequestBuilder.Rd @@ -67,7 +67,6 @@ encapsulate it as slot, when parsing an SDMX-ML document. requestBuilder <- SDMXREST20RequestBuilder( regUrl = "http://www.myorg/registry", repoUrl = "http://www.myorg/repository", compliant = FALSE) - } \author{ Emmanuel Blondel, \email{emmanuel.blondel1@gmail.com} diff --git a/man/SDMXREST21RequestBuilder.Rd b/man/SDMXREST21RequestBuilder.Rd index 0449edc..0397440 100644 --- a/man/SDMXREST21RequestBuilder.Rd +++ b/man/SDMXREST21RequestBuilder.Rd @@ -68,7 +68,6 @@ encapsulate it as slot, when parsing an SDMX-ML document. regUrl = "http://www.myorg/registry", repoUrl = "http://www.myorg/repository", compliant = TRUE) - } \author{ Emmanuel Blondel, \email{emmanuel.blondel1@gmail.com} diff --git a/man/SDMXRequestBuilder.Rd b/man/SDMXRequestBuilder.Rd index c17a564..b9307ae 100644 --- a/man/SDMXRequestBuilder.Rd +++ b/man/SDMXRequestBuilder.Rd @@ -112,7 +112,6 @@ DataStructureDefinition) repoUrl = "http://www.myorg.org/repository", accessKey = NULL, formatter = myFormatter, handler = myHandler, compliant = FALSE) - } \author{ Emmanuel Blondel, \email{emmanuel.blondel1@gmail.com} diff --git a/man/SDMXRequestParams.Rd b/man/SDMXRequestParams.Rd index 8411b0d..2b4629b 100644 --- a/man/SDMXRequestParams.Rd +++ b/man/SDMXRequestParams.Rd @@ -88,7 +88,6 @@ encapsulate it as slot, when parsing an SDMX-ML document. providerId = "", agencyId ="", resource = "data", resourceId = "", version = "", flowRef = "", key = NULL, start = NULL, end = NULL, compliant = FALSE ) - } \author{ Emmanuel Blondel, \email{emmanuel.blondel1@gmail.com} diff --git a/man/saveSDMX.Rd b/man/saveSDMX.Rd index 57934e0..a53ecd5 100644 --- a/man/saveSDMX.Rd +++ b/man/saveSDMX.Rd @@ -20,7 +20,7 @@ saveSDMX(sdmxObj, file) sdmx <- system.file("extdata","Example_Eurostat_2.0.xml", package="rsdmx") saveSDMX(sdmx, "sdmx.rda") } - + } \author{ Emmanuel Blondel, \email{emmanuel.blondel1@gmail.com}