Description Usage Arguments Value Examples
forecast_data function will get FIVE days temperature forecast data from OpenWeatherMap API(https://openweathermap.org).
1 | forecast_data(city, time = "day_average")
|
city |
character, a city name |
time |
character, default is 'day_average' day_average: Get average temperature in each day hours: Get temperature of every 3 hours |
a data.frame, five days temperature forecast of the city
1 | forecast_data("stockholm")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.