Skip to contents

Loads calibration datasets for a specified crop. If the dataset file does not exist or cannot be read, it will be created.

Usage

load_calibration_datasets(crop, source, force = FALSE, ..., cfg = loadConfig())

Arguments

crop

character The crop type for which to create calibration datasets (e.g., "maize").

source

character The source of the calibration datasets (e.g., "presti", "itb").

force

logical Whether to force the creation of the uptakes data from the raw data.

...

Additional arguments passed to the crop-specific dataset creation function.

cfg

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

Value

A list of data frame containing calibration datasets.