View source: R/wget_apsimx_json.R
get_apsimx_json | 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
insert_replacement_node
tmp.dir <- tempdir()
wheat <- get_apsimx_json(model = "Wheat", wrt.dir = tmp.dir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.