find_city {owmr}R Documentation

Find city by name or coordinates.

Description

Either search for city by name or fetch weather data for a number of cities around geo point.

Usage

find_city(city = NA, ...)

Arguments

city

city name (and country code)

...

see owm api documentation, pass lat and lon to search by coordinates

Value

list of weather data for matches

See Also

find_cities_by_geo_point

Examples

## Not run: 
   find_city("London,UK")
   find_city(lat = 51.50853, lon = -0.12574, cnt = 5)

## End(Not run)

[Package owmr version 0.8.2 Index]