powered by
Get 3h forecast data.
get_forecast(city = NA, ...)
city name or id
see owm api documentation, you can also skip parameter city and pass lat (latitude) and lon (longitude) or zip (zip code) instead
city
lat
lon
zip
list
# NOT RUN { result <- get_forecast("Kassel", units = "metric") names(result) get_forecast("London", cnt = 10) get_forecast(lat = -22.90278, lon = -22.90278, cnt = 3, units = "metric") # }
Run the code above in your browser using DataLab