GNcountrySubdivision {geonames}R Documentation

country code and subdivision

Description

country code and admin subdivision

Usage

GNcountrySubdivision(lat, lng, lang = "en", radius = "",
  maxRows = 10)

Arguments

lat

latitude

lng

longitude

lang

language code

radius

search radius

maxRows

max number of returned records

Details

looks up country and admin subdivisions

API doc for GNcountrySubdivision is at http://www.geonames.org/export/web-services.html#countrysubdiv

Value

iso country code

Author(s)

Barry Rowlingson


[Package geonames version 0.999 Index]