View source: R/include_horizon.R
include_horizon | R Documentation |
Adds horizon if not present, defined as datetime - reference_datetime
with a group
defined by any of: "target_id", "model_id", "pub_time", "variable", "site_id".
Will also add reference_datetime
if not present, defined as datetime - min(datetime)
include_horizon(
df,
allow_difftime = getOption("neon4cast.allow_difftime", FALSE)
)
df |
data.frame containing an efi-compliant forecast or score |
allow_difftime |
should |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.