Description Methods (by generic) Slots Objects from the Class Note See Also Examples
The class of object returned by the getPWSweather
function. The PWSweather class represents the weather condition of some PWS (personal weather stations) on a given time interval. The data is retrieved from the website http://www.wunderground.com.
getWeatherData
: returns the weather data of the nearby stations
getStartTime
: returns the starting time of the time interval
getEndTime
: returns the ending time of the time interval
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
data
a list of data frame that contains the weather of the nearby PWS
Objects can be created by calls of the form new("PWSweather", ...) or by calling the function getPWSweather
.
The class PWSweather-class
has a validity (see validObject
) check function.
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.