get_apsimx_json {apsimx}R Documentation

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)

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

Value

a list read through the jsonlite package

See Also

insert_replacement_node

Examples


tmp.dir <- tempdir()
wheat <- get_apsimx_json(model = "Wheat", wrt.dir = tmp.dir)



[Package apsimx version 2.7.7 Index]