Get current weather data for multiple cities.

get_current_for_group(city_ids, ...)

Arguments

city_ids

numeric vector containing city ids

...

see owm api documentation

Value

list

See also

owm_cities dataset in order to lookup city ids

Examples

# NOT RUN {
   city_ids = c(2831088, 2847639, 2873291)
   result <- get_current_for_group(city_ids)
   result$cnt == nrow(result$list)
   weather_frame <- result$list
# }