Description Usage Arguments Value Examples
Get 3h forecast data.
1 | get_forecast(city = NA, ...)
|
city |
city name or id |
... |
see owm api documentation, you can also skip parameter
|
list
1 2 3 4 5 6 7 | ## 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")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.