plotPWScurrent: plot the current weather condition based on the object of...

Description Usage Arguments Methods (by class) Note See Also Examples

Description

plotPWS plots the current weather conditions for original search location and the nearby PWS's that are contained in an object of class PWS-class. It gets the weather condition by API calls from the website http://www.wunderground.com. The labels on the graph show temperatures in Fahrenheit scale. Users can choose to plot either over google map or as plain points.

Usage

1
2
## S4 method for signature 'PWS'
plotPWScurrent(object, googleMap = TRUE)

Arguments

object

an object of class PWS-class

googleMap

logical variable that indicates whether google map should be used for the plotting

Methods (by class)

Note

Please use this function with care since there are limits to the number of API calls per minute and per day from the website http://www.wunderground.com.

See Also

PWS-class

Examples

1
2
3
4
data(offlineExample)
offlineExample
plotPWScurrent(offlineExample, googleMap = FALSE) #plot without getting online google map
plotPWScurrent(offlineExample, googleMap = TRUE) #plot using online google map

mengyigao/PWS documentation built on May 22, 2017, 3:30 a.m.