getLanguages {openMpp} | R Documentation |
Return list of languages: rows from lang_lst table
getLanguages(dbCon)
dbCon |
database connection |
Read from database and return data frame of language list (lang_lst) table rows.
Data frame with $lang_id, $lang_code, $lang_name columns of lang_lst table
To run examples you must have modelOne database modelOne.sqlite in current directory
amc1999
OpenM++ documentation: https://github.com/openmpp/openmpp.github.io/wiki
theDb <- dbConnect(RSQLite::SQLite(), "modelOne.sqlite", synchronous = "full") invisible(dbGetQuery(theDb, "PRAGMA busy_timeout = 86400")) # recommended langRs <- getLanguages(theDb) dbDisconnect(theDb)