Returns full grid of (model_id, target,
designated) for the requested models and targets.
Resolution uses the model's metadata 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.
Usage
get_model_designation(base_hub_path, model_ids = NULL, targets = NULL)
Arguments
- base_hub_path
character, path to the base hub
directory.
- model_ids
character vector of model IDs to
include, or NULL (default) to include all models
with metadata in the hub.
- targets
character vector of target names to
include, or NULL (default) to include all targets
supported by the hub.
Value
A tibble with columns model_id, target,
and designated (logical), with one row per
(model, target) combination.