geocode_rev: Reverse Geocoding

geocode_revR Documentation

Reverse Geocoding

Description

Describe a location using the ERSI and OSM reverse geocoding web-services. This service provides traditional reverse geocoding (lat/lon to placename) but can also be use to get more information about a place name. xy must contain geographic coordinates!

Usage

geocode_rev(xy, pt = FALSE, method = default_method)

Arguments

xy

logical. If TRUE a named xy numeric vector is created

pt

logical. If TRUE point geometry is created.

method

the geocoding service to be used. See ?tidygeocoder::geocode

Value

a data.frame, sf object, or vector

See Also

Other geocode: geocode_wiki(), geocode()

Examples

## Not run: 
 geocode_rev(xy = c(38,-115))

## End(Not run)

mikejohnson51/AOI documentation built on Nov. 22, 2023, 6:05 p.m.