Learn R Programming

owmr (version 0.8.2)

find_cities_by_geo_point: Find cities by geo point.

Description

Get current weather data for a number of cities around a given geo point.

Usage

find_cities_by_geo_point(lat, lon, cnt = 3, ...)

Arguments

lat

latitude of geo point

lon

longitude of geo point

cnt

number of cities

...

see owm api documentation

Value

list

See Also

find_city

Examples

Run this code
# NOT RUN {
  find_cities_by_geo_point(lat = 51.50853, lon = -0.12574, cnt = 5)
# }

Run the code above in your browser using DataLab