Fetch the BOM daily pr<U+00E9>cis forecast and return a tidy data frame of the seven day town forecast for a specified state or territory.
get_precis_forecast(state = "AUS")
Australian state or territory as full name or postal code.
Fuzzy string matching via agrep
is done. Defaults to
"AUS" returning all state bulletins, see details for further information.
Tidy data.frame
of a Australia BOM pr<U+00E9>cis seven day
forecasts for select towns. For full details of fields and units returned
see Appendix 2 in the bomrang vignette, use
vignette("bomrang", package = "bomrang")
to view.
Allowed state and territory postal codes, only one state per request
or all using AUS
.
Australian Capital Territory (will return NSW)
New South Wales
Northern Territory
Queensland
South Australia
Tasmania
Victoria
Western Australia
Australia, returns forecast for all states, NT and ACT
Forecast data come from Australian Bureau of Meteorology (BOM) Weather Data Services http://www.bom.gov.au/catalogue/data-feeds.shtml
Location data and other metadata for towns come from the BOM anonymous FTP server with spatial data ftp://ftp2.bom.gov.au/anon/home/adfd/spatial/, specifically the DBF file portion of a shapefile, ftp://ftp2.bom.gov.au/anon/home/adfd/spatial/IDM00013.dbf
# NOT RUN {
BOM_forecast <- get_precis_forecast(state = "QLD")
# }
Run the code above in your browser using DataLab