Skip to contents

Converts fable forecast output to hub submission format.

Usage

convert_fable_to_hub(fable_forecast, location = NULL, target = "inc")

Arguments

fable_forecast

A fable forecast object

location

Character. Location identifier. Default is NULL (extract from data).

target

Character. Target name for the forecast. Default is "inc".

Value

A data frame in hub format

Examples

if (FALSE) { # \dontrun{
# Assuming you have a fable forecast object
# hub_forecast <- convert_fable_to_hub(fc, location = "US", target = "inc")
} # }