\name{fixTypes} \alias{fixTypes} \title{ This takes care of coercing variables into factor types during queries. } \usage{fixTypes(dat,var,vd) } \arguments{ \item{dat}{The \code{mcmc.list} object reading the data from the database.} \item{var}{The names of the variables.} \item{vd}{The variable data table giving the names of the states.} } \description{ This is a utility function used to coerce string data from the database into ordered factors for later analysis. } \seealso{ \code{\link{vQuery}} } \examples{\dontrun{ # # } } \keyword{database}