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")
A data.table::data.table()
of an Australia BOM précis seven day
forecasts for BOM selected towns.
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.
Adam H. Sparks, adamhsparks@gmail.com, Keith Pembleton, keith.pembleton@usq.edu.au, and Paul Melloy, paul@melloy.com.au
Allowed state and territory postal codes, only one state per request or all using 'AUS'.
Australia, returns forecast for all states, NT and ACT
Australian Capital Territory (will return NSW)
New South Wales
Northern Territory
Queensland
South Australia
Tasmania
Victoria
Western Australia
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://ftp.bom.gov.au/anon/home/adfd/spatial/, specifically the
DBF file portion of a shapefile,
ftp://ftp.bom.gov.au/anon/home/adfd/spatial/IDM00013.dbf.
parse_precis_forecast
Other BOM:
find_forecast_towns()
,
get_ag_bulletin()
,
get_available_imagery()
,
get_available_radar()
,
get_coastal_forecast()
,
get_radar_imagery()
,
get_satellite_imagery()
,
parse_ag_bulletin()
,
parse_coastal_forecast()
,
parse_precis_forecast()
Other data fetching:
get_ag_bulletin()
,
get_coastal_forecast()
,
get_data_drill()
,
get_data_drill_apsim()
,
get_dpird_apsim()
,
get_dpird_extremes()
,
get_dpird_minute()
,
get_dpird_summaries()
,
get_patched_point()
,
get_patched_point_apsim()
,
get_radar_imagery()
,
get_satellite_imagery()
if (FALSE) { # interactive()
# get the short forecast for Western Australia
get_precis_forecast(state = "WA")
}
Run the code above in your browser using DataLab