getLanguages {openMpp}R Documentation

Return list of languages

Description

Return list of languages: rows from lang_lst table

Usage

getLanguages(dbCon)

Arguments

dbCon

database connection

Details

Read from database and return data frame of language list (lang_lst) table rows.

Value

Data frame with $lang_id, $lang_code, $lang_name columns of lang_lst table

Note

To run examples you must have modelOne database modelOne.sqlite in current directory

Author(s)

amc1999

References

OpenM++ documentation: http://ompp.sourceforge.net/wiki/

See Also

getModel

Examples

  theDb <- dbConnect(RSQLite::SQLite(), "modelOne.sqlite", synchronous = "full")
  invisible(dbGetQuery(theDb, "PRAGMA busy_timeout = 86400")) # recommended

  langRs <- getLanguages(theDb)

  dbDisconnect(theDb)

[Package openMpp version 0.8.1 Index]