if (FALSE) {
nixtlar::nixtla_set_api_key("YOUR_API_KEY")
df <- nixtlar::electricity
fcst <- nixtlar::nixtla_client_forecast(df, h=8, id_col="unique_id", level=c(80,95))
nixtlar::timegpt_plot(df, fcst, h=8, id_col="unique_id")
}
Run the code above in your browser using DataLab