get_precis_forecast: Get BOM daily précis forecast for select towns from BOM

View source: R/get_precis_forecast.R

get_precis_forecastR Documentation

Get BOM daily précis forecast for select towns from BOM

Description

Fetch the BOM daily précis forecast and return a data frame of the seven-day town forecasts for a specified state or territory.

Usage

get_precis_forecast(state = "AUS")

Arguments

state

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 more.

Details

Allowed state and territory postal codes, only one state per request or all using AUS.

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

AUS

Australia, returns forecast for all states, NT and ACT

Value

A data.table of an Australia BOM précis seven day forecasts for BOM selected towns. For full details of fields and units returned see Appendix 2 in the bomrang vignette, use
vignette("bomrang", package = "bomrang") to view.

Author(s)

Adam H. Sparks, adamhsparks@gmail.com and Keith Pembleton, keith.pembleton@usq.edu.au and Paul Melloy, paul@melloy.com.au

References

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

See Also

parse_precis_forecast

Examples


# get the short forecast for Queensland
BOM_forecast <- get_precis_forecast(state = "QLD")
BOM_forecast


ToowoombaTrio/BOMRang documentation built on Jan. 31, 2023, 3:10 p.m.