R/readDescriptionSDML.R

Defines functions readDescriptionSDML

readDescriptionSDML <- function(x)
{
  if(is.null(x)) return(NULL)

  list(
       title      = xmlValue(x[["title"]]),
       source     = xmlValue(x[["source"]]),
       date       = xmlValue(x[["date"]]),
       version    = xmlValue(x[["version"]]),
       comment    = xmlValue(x[["comment"]]),
       creator    = xmlValue(x[["creator"]]),
       properties = readProperties(x[["properties"]])
       )
}

Try the StatDataML package in your browser

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

StatDataML documentation built on March 7, 2023, 7:44 p.m.