With history_range you get hourly weather data for a specified date rangeĪssuming a date range between Aug 1st and Aug 3rd 201: range_of_weather_data We get weather data including temperature, humidity, wind speed etc. ![]() # heat_index, precip, precip_rate, precip_total , with 13 more variables: pressure, wind_chill , set_api_key("put_your_own_api_key_here") #API key in weather underground page Next, you can save the weather station ID into an object my_weather_station for quickly referencing it. Set the API key using the set_api_key function from the rwundergound library. ![]() First, load the nescessary libraries library(rwunderground) #for the Weather Underground API # Warning: package 'rwunderground' was built under R version 3.4.3 library(dplyr) #for data manipulation
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |