Learn R Programming

owmr (version 0.8.2)

get_forecast_daily: Get daily forecast data up to 16 days.

Description

Get daily forecast data up to 16 days.

Usage

get_forecast_daily(city = NA, ...)

Arguments

city

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

Value

list

Examples

Run this code
# NOT RUN {
   # 9 day forecast
   result <- get_forecast_daily("London", cnt = 9)
   forecast_frame <- result$list
# }

Run the code above in your browser using DataLab