Description Usage Arguments Value References Examples
Returns the last 5 days temperature (Fahrenheit), precipitation (T/F), and wind speed (mph). Must set API key via set_api_key_openweather() prior to use. Request key here get key here https://openweathermap.org/full-price#current.
1 | get_openweather_historical(lat, long)
|
lat |
a double representing latitude |
long |
a double representing longitude |
a tibble of weather data
https://openweathermap.org/api/one-call-api
1 2 3 4 5 6 7 | ## Not run:
set_api_key_openweather('<key>')
lat <- 40.7812
long <- -73.9665
get_openweather_historical(lat, long)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.