\name{readDemographicCSVData} \alias{readDemographicCSVData} \alias{readStatisticCSVData} \alias{readTaskCSVData} %- Also NEED an '\alias' for EACH other topic documented here. \title{Reads subset of CSV data using XML metadata.} \description{ These are functions which implement the \code{read.cpd.xml} function and produce individual dataframes from the big data frame produced by reading the CSV file. } \usage{ readDemographicCSVData(rawdata, xmlNode) readStatisticCSVData(rawdata, xmlNode) readTaskCSVData(xmlNode, rawdata) } %- maybe also 'usage' for other objects documented here. \arguments{ \item{rawdata}{Data frame or matrix containing all of CSV data.} \item{xmlNode}{An \code{XMLNode} giving the meta data for the portion of the table to extract.} } \details{ Internal functions used by \code{read.cpd.xml} to build the data frames. Each one takes a portion of the pretest description XML and extracts the corresponding columns from the result of the read data table. Because the columns position and not number is normative, these functions must be called in the correct order. } \value{ A data frame containing the appropriate columns. } \references{ http://research.ets.org/~ralmond/StatShop/dataFormats.html } \author{Russell Almond} \section{Side Effects}{ Advances the \code{PDcolumn} by the appropriate amount. } \seealso{\code{\link{read.cpd.csv}},\code{\link[XML]{XMLNode}}, \code{\link{nextPDColumn}} } \keyword{interface}% at least one, from doc/KEYWORDS