Fetch nicely formatted daily précis forecast from the BOM , which contains seven-day town forecasts for a specified state or territory. Ported from bomrang.
get_precis_forecast(state ="AUS")
Arguments
state: Australian state or territory as full name or postal code. Fuzzy string matching via base::agrep() is done. Defaults to AUS
returning all state bulletins, see Details for more.
Returns
A data.table::data.table() of an Australia BOM précis seven day forecasts for BOM selected towns.
Details
Allowed state and territory postal codes, only one state per request or all using 'AUS'.
AUS: Australia, returns forecast for all states, NT and ACT
ACT: Australian Capital Territory (will return NSW)
NSW: New South Wales
NT: Northern Territory
QLD: Queensland
SA: South Australia
TAS: Tasmania
VIC: Victoria
WA: Western Australia
Examples
# get the short forecast for Western Australiaget_precis_forecast(state ="WA")
References
Forecast data come from Australian Bureau of Meteorology (BOM ) Weather Data Services