Get current weather data for multiple cities.
get_current_for_group(city_ids, ...)
city_ids | numeric vector containing city ids |
---|---|
... | see owm api documentation |
list
owm_cities
dataset in order to
lookup city ids
# NOT RUN { city_ids = c(2831088, 2847639, 2873291) result <- get_current_for_group(city_ids) result$cnt == nrow(result$list) weather_frame <- result$list # }