country code and subdivision

Description

country code and admin subdivision

Usage

1
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