Learn R Programming

apsimx (version 2.8.0)

get_apsimx_json: fetches the json file for a specific model from APSIMX github

Description

Retrieves the json replacement file for a specific model

Usage

get_apsimx_json(model = "Wheat", wrt.dir = ".", cleanup = FALSE)

Value

a list read through the jsonlite package

Arguments

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

Details

Get APSIM-X Model Replacement from github

See Also

insert_replacement_node

Examples

Run this code
# \donttest{
tmp.dir <- tempdir()
wheat <- get_apsimx_json(model = "Wheat", wrt.dir = tmp.dir)
# }

Run the code above in your browser using DataLab