Function that takes the defined impacts and reference AgProdChange files then updates and saves the new AgProdChange csv and xml files.

cap_rainfed_yield(
  write_dir = "step5_cap_rainfed_yield",
  input_dir = NULL,
  GCAM_basin_mapping = NULL,
  GCAM_region_mapping = NULL,
  agyield_path_input = NULL,
  bioyield_path_input = NULL
)

Arguments

write_dir

Default = "step5_cap_rainfed_yield". Output Folder

input_dir

Default = NULL. Input Folder (step 4)

GCAM_basin_mapping

Default = NULL

GCAM_region_mapping

Default = NULL

agyield_path_input

Default = NULL

bioyield_path_input

Default = NULL

Value

number

Examples

if (FALSE) { # \dontrun{
library(osiris)
osiris::cap_rainfed_yield()
} # }