Description Usage Arguments Examples
Retrieve historical METAR weather from NOAA buoy; see http://www.ndbc.noaa.gov/. This function is a thin wrapper around buoy mainly for multiple year queries and output formatting
1 2 | get_buoy_wx(buoy = NULL, years = as.POSIXlt(Sys.Date())$year + 1900,
out_tz = "GMT")
|
buoy |
character or integer scalar of buoy from which to retrieve weather. Browse at http://www.ndbc.noaa.gov/ or see buoy_stations. |
years |
integer vector of years for which data are required |
out_tz |
time zone specification to be used for output. System-specific (see timezones. Default is "GMT" (UTC; Universal Time, Coordinated). |
1 2 3 4 5 6 | ## Not run:
wx <- get_buoy_wx("DPIA1", years = 2017, out_tz = "America/Chicago")
# Current year, in GMT
wx <- get_buoy_wx(41063)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.