Description Usage Arguments Value Examples
View source: R/current_weather.R
This function read the the weather information of a airport from the website of NOAA's National Weather Service.
1 | current_weather(id,type)
|
id |
one 4 digits code of the airport |
type |
a vector of weather elements |
a data frame of the weather information
1 2 | current_weather("KAMW", c("wind_mph", "temp_f", "haha"))
current_weather("KAMW", "temp_c")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.