PWSweather-class: An S4 class "PWSweather"

Description Methods (by generic) Slots Objects from the Class Note See Also Examples

Description

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.

Methods (by generic)

Slots

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 from the Class

Objects can be created by calls of the form new("PWSweather", ...) or by calling the function getPWSweather.

Note

The class PWSweather-class has a validity (see validObject) check function.

See Also

getPWSweather

Examples

1
2
3

mengyigao/PWS documentation built on May 22, 2019, 6:50 p.m.