Resolve per-target model designation as it stands now.
Source:R/model_designation.R
get_model_designation_current.RdReturns full grid of (model_id, target, designated)
for the requested models and targets, resolved from
current model metadata: the fields designated_model
and the optional designated_targets list. If
designated_model is FALSE: never designated. If
designated_model is TRUE and designated_targets
is absent or empty: designated for every target. If
designated_model is TRUE and designated_targets
is present: designated only for listed targets.
Value
A tibble with columns model_id, target,
and designated (logical), with one row per
(model, target) combination.
Details
This describes models as they are today. This is
only correct for the current reference date. Use
get_model_designation_as_of() for a past one. The
exception is generate_hub_ensemble(), which writes
the record the as-of version reads.