Description Usage Arguments Value Examples
This function will get the weather forecast conditions for a given station
1 | getWeatherFromNOAA(station_id = "KJFK", message = FALSE)
|
station_id |
the ID of the weather station near the necessary location To find your station ID, open http://www.weather.gov/xml/current_obs/seek.php?state=az&Find=Find select the desired state and retrieve the Observation Location: the station_id is the string within the () parentheses. |
message |
If TRUE (default FALSE) the function returns a message summarizing the weather forecast for the location of interest |
A data.frame containing the weather information for the given station
1 2 3 4 5 | ## Not run:
library("RWeather")
getWeatherFromNOAA(station_id="KJFK") # current observation for New York
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.