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

View source: R/wget_apsimx_json.R

get_apsimx_jsonR 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)



apsimx documentation built on Sept. 11, 2024, 5:42 p.m.