Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/get_coastal_forecast.R
Fetch the BOM daily Coastal Waters Forecast and return a data frame of the forecast regions for a specified state or region.
1 | get_coastal_forecast(state = "AUS")
|
state |
Australian state or territory as full name or postal code.
Fuzzy string matching via |
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
A data.table of an Australia BOM
Coastal Waters Forecast. For full details of fields and units
returned see Appendix 5 in the bomrang vignette, use
vignette("bomrang", package = "bomrang") to view.
Dean Marchiori, deanmarchiori@gmail.com and Paul Melloy paul@melloy.com.au
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
parse_coastal_forecast
1 2 | coastal_forecast <- get_coastal_forecast(state = "NSW")
coastal_forecast
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.