read_apsimx | R Documentation |
read SQLite databases created by APSIM-X runs. One file at a time.
read_apsimx(file = "", src.dir = ".", value = "report", simplify = TRUE)
file |
file name |
src.dir |
source directory where file is located |
value |
either ‘report’, ‘all’ (list) or user-defined for a specific report |
simplify |
if TRUE will attempt to simplify multiple reports into a single data.frame. If FALSE it will return a list. |
Read APSIM-X generated .db files
normally it returns a data frame, but it depends on the argument ‘value’ above
if there is one single report it will return a data.frame. If there are multiple reports, it will attempt to merge them into a data frame. If not possible it will return a list with names corresponding to the table report names. It is also possible to select a specific report from several available by selecting ‘value = ReportName’, where ‘ReportName’ is the name of the specific report that should be returned. If you select ‘all’ it will return all the components in the data base also as a list.
read_apsimx_all
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.