dat <- getWeatherForMultipleYears("SFO", 2013, 2017)
# If opt_detailed is turned on, you will get a large data frame
wx_SF <- getWeatherForMultipleYears("SIN", 2014, 2017, opt_detailed=TRUE)
Run the code above in your browser using DataCamp Workspace