Learn R Programming

geonames (version 0.6)

Hierarchy: Admin area hierarchies

Description

These are functions for administrative hierarchies

Usage

GNchildren(geonameId)
GNhierarchy(...)
GNsiblings(geonameId)
GNneighbours(geonameId)
GNcountrySubdivision(lat,lng,lang,radius,maxRows)

Arguments

geonameId
A geoname identifier
lat
Decimal latitude. North is positive
lng
Decimal longitude. East is positive
lang
Language for returned text
radius
Search radius
maxRows
Maximum number of rows to return
...
See http://www.geonames.org/export/ws-overview.html for details of arguments to this function

Value

  • List or data frame objects with the query results.

Details

These functions query geonames for information about administrative region hierarchies.

See http://www.geonames.org/export/ws-overview.html for a full description of valid arguments and return values