Skip to contents

Get crop, irrigation, climate, or soil scenarios

Usage

get_xxx_scenarios(
  category,
  scenarios = load_xxx_scenarios(category = category, ..., cfg = cfg),
  ...,
  cfg = loadConfig()
)

Arguments

category

character The category of scenarios to create. Can be one or more of "crop", "climate", "soil", and "irrigation".

scenarios

data.frame A data frame containing the scenarios for the specified category.

...

Additional arguments to pass to load_xxx_scenarios().

cfg

a config object. Configuration to use. See loadConfig for details

Value

data.frame A data frame containing the scenarios for the specified category.