Description Usage Arguments Methods (by class) Note See Also Examples
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.
1 2 | ## S4 method for signature 'PWS'
plotPWScurrent(object, googleMap = TRUE)
|
object |
an object of class |
googleMap |
logical variable that indicates whether google map should be used for the plotting |
PWS
: plot the current weather condition based on an object of class "PWS"
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.
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.