Hierarchy {geonames}R Documentation

Admin area hierarchies

Description

These are functions for administrative hierarchies

Usage

GNchildren(geonameId,...)
GNhierarchy(geonameId,...)
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

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

Value

List or data frame objects with the query results.


[Package geonames version 0.8 Index]