Generate a function for checking whether .rds files for raw output objects exist for a location/forecast date/scenario trio.
Source: R/utils.R
get_object_existence_checker.RdGenerate a function for checking whether .rds files for
raw output objects exist for a location/forecast date/scenario
trio.
Arguments
- location
Name of the location, as a string.
- forecast_date
The forecast date, as a date or in a format coercible by
as.Date().- scenario
Name of the scenario, as a string.
- raw_output_dir
Directory in which to look for the
.rdsfile.
Value
A function for loading objects from .rds files,
as the output of calling purrr::partial() on
file_exists_object_with_suffix().