get_apsimx_json {apsimx} | R Documentation |
Retrieves the json replacement file for a specific model
get_apsimx_json(model = "Wheat", wrt.dir = ".", cleanup = FALSE)
model |
a model (e.g. ‘Wheat’ or ‘Maize’) |
wrt.dir |
directory to save the JSON file (default is the current directory) |
cleanup |
whether to delete the JSON file |
Get APSIM-X Model Replacement from github
a list read through the jsonlite package
tmp.dir <- tempdir()
wheat <- get_apsimx_json(model = "Wheat", wrt.dir = tmp.dir)