Description Usage Arguments Value
Get 5 day forecast for a given location. The first part of the function gets the location key and passes it through the url containing the data
1 2 3 4 5 6 | aw_5_days_forecast(
lat,
lon,
tz = "Europe/London",
apikey = Sys.getenv("awapi_key")
)
|
lat |
Latitude of location. |
lon |
Longitude of location. |
tz |
Default timezone is Europe/London. See http://www.timezoneconverter.com/cgi-bin/zoneinfo.tzc to find your timezone. |
apikey |
apikey needed to access data from the site. |
A data frame of daily weather forecasts for the given location.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.