\name{listModels} \alias{listModels} \alias{listLinkModels} \alias{listStudentModels} \title{ Returns a list of models in the StatShop database. } \usage{ listModels() listLinkModels() listStudentModels() } \arguments{ } \value{ A vector of strings giving the names of models of the specified type. } \description{ Searches the meta-data in the database for the names of the models and returns a list of all models. The \code{listLinkModels} returns only link model names, and the \code{listStudentModels} returns only student models. Assumes a connection to a StatShop database was previously made using \code{asp.dbConnect}. } \seealso{ \code{\link{asp.dbConnect}}, \code{\link{listParameterNames}}, \code{\link{listSubjects}}, \code{\link{listVariables}}, \code{\link{getParameterVector}}, \code{\link{getAllParameters}} } \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") listModels() listStudentModels() listLinkModels() asp.dbDisconnect() } } \keyword{database}