Learn R Programming

geonames (version 0.996)

GNcities: find cities

Description

Search for cities

Usage

GNcities(north, east, south, west, lang = "en", maxRows = 10)

Arguments

north
north bound
east
east bound
south
south bound
west
west bount
lang
language code
maxRows
max number of records to return

Value

  • city records

Details

find cities

API doc for GNcities is at http://www.geonames.org/export/JSON-webservices.html#citiesJSON