Skip to contents

Calls flatten_task() on each entry of the task list.

Usage

flatten_task_list(task_list, .deduplicate = TRUE)

Arguments

task_list

List of tasks. Each entry should itself be be a nested list that can be passed to flatten_task().

.deduplicate

deduplicate the output if the same flat configuration is found multiple times while flattening the task list? Default TRUE.

Value

A tibble of all potentially valid submittable outputs for all the modeling tasks defined in task_lists. Each row of the table represents a single valid forecastable quantity (e.g. "target X on target_end_date Y in location Z"), plus a valid submittable output_type for forecasting that quantity. If multiple output_types are accepted for a given valid forecastable quantity, that quantity will be represented multiple times, with one row for each valid associated output_type.