View source: R/import_apsim_db.R
| import_apsim_db | R Documentation |
Imports data from SQLite databases (*.db) applied by APSIM Next Generation. It reads one file at a time.
import_apsim_db(filename = "", folder = ".", value = "report", simplify = TRUE)
filename |
file name including the file extension ("*.db"), as a string (""). |
folder |
source folder/directory containing the file, as a string (""). |
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. Default: TRUE. |
An object of class data.frame, but it depends on the argument ‘value’ above
This function was adapted from apsimx package (Miguez, 2022). For reference, we recommend to check and use the function apsimx::read_apsimx() as an alternative. Source: https://github.com/femiguez/apsimx by F. Miguez.
Miguez, F. (2022) apsimx: Inspect, Read, Edit and Run 'APSIM' "Next Generation" and 'APSIM' Classic. R package version 2.3.1, https://CRAN.R-project.org/package=apsimx
## See [documentation](https://adriancorrendo.github.io/metrica/index.html)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.