getPWSweather: get an object of class "PWSweather"

Description Usage Arguments Details Value Note See Also Examples

View source: R/getPWSweather.R

Description

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

Usage

1

Arguments

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

Details

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

Value

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

Note

please use this function with care since there are limits to the number of API calls per minute and per day

See Also

PWSweather-class

Examples

1
2
3

x265zhan/PWS documentation built on May 4, 2019, 1:05 p.m.