get_coastal_forecast: Get BOM Coastal Waters Forecast

Description Usage Arguments Details Value Author(s) References Examples

View source: R/get_coastal_forecast.R

Description

Fetch the BOM daily Coastal Waters Forecast and return a tidy data frame of the forecast regions for a specified state or region.

Usage

1

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 forecasts, see details for further information.

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

Tidy data.frame of a Australia BOM Coastal Waters Forecast.

Author(s)

Dean Marchiori, [email protected]

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 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/IDM00003.dbf

Examples

1
2
3
4
## Not run: 
coastal_forecast <- get_coastal_forecast(state = "NSW")

## End(Not run)

bomrang documentation built on Sept. 12, 2018, 9:03 a.m.