View source: R/Parameter_config.R
| export_management_template | R Documentation |
Exports a template that can be used to provide management inputs for the model. The exported file includes monthly allocation variables and carbon input columns initialized with zeros, so they can be filled by the user before being read by the model.
export_management_template(yr_start, yr_end, filepath)
yr_start |
Initial simulation year. |
yr_end |
Final simulation year. |
filepath |
Filepath where management template will be exported. |
Users should keep only the columns relevant to their workflow and avoid double accounting among allocation variables. For example, when 'plant_monthly_allocation' is used, grain and grass allocation columns should not be used simultaneously.
If monthly carbon inputs are provided directly, additional allocation columns may not be needed. These consistency checks are not enforced automatically and must be handled by the user when preparing the input file.
The exported template as a data.frame.
path <- tempfile(fileext = ".csv")
export_management_template(2006, 2010, path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.