R/Class-SDMXCodelists.R

#' @name SDMXCodelists
#' @docType class
#' @aliases SDMXCodelists-class
#' 
#' @title Class "SDMXCodelists"
#' @description A basic class to handle SDMX Codelists
#' 
#' @slot codelists Object of class "list" giving the list of "SDMXCodelist"
#' 
#' @section Warning:
#' This class is not useful in itself, but \link{SDMXDataStructureDefinition} objects
#' will encapsulate it as slot, when parsing an SDMX-ML document.
#' 
#' @author Emmanuel Blondel, \email{emmanuel.blondel1@@gmail.com}
#' 
setClass("SDMXCodelists",
         contains = "SDMX",
         representation(
          codelists = "list"
         ),
         prototype = list(),
         validity = function(object){
           #eventual validation rules
           return(TRUE);
         }
)

Try the rsdmx package in your browser

Any scripts or data that you put into this service are public.

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