query_latest_forecast: Query the latest forecast datasets

Description Usage Arguments Value

View source: R/query.R

Description

Query the latest forecast datasets

Usage

1
2
3
4
query_latest_forecast(
  ftime = c(NA, "latest", "0000", "0600", "1200", "1800")[2],
  ahead = c(NA, "000", "006", "084")[1]
)

Arguments

ftime

character, the forecast time to retrieve

  • NA this disable filtering and gets the lot for the day

  • 'latest' get just the latest (the default)

  • '0000', '0600', '1200”1800' one or more specific hours

ahead

character, the 'forecast ahead' times as hhh. This makes the most sense when the value of ftime points to one time, such as 'latest', '0600', etc.

  • NA if NA, the default then all are returned

  • any combination of 000, 001, 002, etc

Value

a list of DatasetRefClass, possibly empty or NULL


BigelowLab/namanl documentation built on Nov. 15, 2021, 3:11 p.m.