\name{parameterTable} \alias{parameterTable} \alias{variableTable} \title{ Internal function to find the name of the StatShop database table for the parameters or variables associated with a model. } \usage{ parameterTable(model) variableTable(model) } \arguments{ \item{model}{Name of model to select.} } \description{ Does the translation from the user model name to the corresponding StatShop database table name. Note data is stored in a separate table for parameters and models. A connection must be open to the StatShop database for this function to work. } \seealso{ \code{\link{asp.dbConnect}}, \code{\link{listModels}}, \code{\link{listParameterNames}}, \code{\link{listVariables}} } \examples{ ### This example will only run if you have the StatShop test databases ### installed on your machine. StatShop <- Sys.getenv("STATSHOP") if (StatShop == "") { warn("StatShop not installed, skipping test.") } else { asp.dbConnect("mcmc_statistics_test","junit") ## Get table names for the student model. parameterTable("system") variableTable("system") asp.dbDisconnect() } } \keyword{database}