Description Usage Arguments Details Value Note See Also Examples
View source: R/getPWSweather.R
Gets the up to date weather information about nearby PWS (personal weather station) from http://www.wunderground.com based on a PWS object, a starting time and an ending time
1 | getPWSweather(pws, start, end)
|
pws |
a PWS object that contains the information about the original search location and the nearby PWS |
start |
a single character string in HH:MM or H:MM form that shows the starting time of the time interval |
end |
a single character string in HH:MM or H:MM form that shows the ending time of the time interval; must be greater than starting time |
The function retrieves weather information about all stations listed in pws
and subset the data based on the time interval which is specified by start
and end
An S4 object of class PWSweather-class
contains the information about the weather condition of some PWS (personal weather stations) on a given time interval
please use this function with care since there are limits to the number of API calls per minute and per day
1 2 3 | data(offlineExample)
a = getPWSweather(offlineExample, "3:00", "17:00")
validObject(a)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.