1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#' @name SDMXStructureSpecificTimeSeriesData
#' @rdname SDMXStructureSpecificTimeSeriesData
#' @aliases SDMXStructureSpecificTimeSeriesData,SDMXStructureSpecificTimeSeriesData-method
#'
#' @usage
#' SDMXStructureSpecificTimeSeriesData(xmlObj, namespaces)
#'
#' @param xmlObj object of class "XMLInternalDocument derived from XML package
#' @param namespaces object of class "data.frame" given the list of namespace URIs
#' @return an object of class "SDMXStructureSpecificTimeSeriesData"
#'
#' @seealso \link{readSDMX}
#'
#' @export
#'
SDMXStructureSpecificTimeSeriesData <- function(xmlObj, namespaces){
new("SDMXStructureSpecificTimeSeriesData",
SDMXData(xmlObj, namespaces)
)
}
#methods
#=======
#'@export
as.data.frame.SDMXStructureSpecificTimeSeriesData <- function(x, row.names=NULL, optional=FALSE,
labels = FALSE, ...){
return(getSDMXAllCompactData(x, nsExpr = "structurespecific", labels = labels));
}
|