mz_geocode: Geocode an address or other location

Description Usage Arguments Value See Also Examples

View source: R/geocode.R

Description

This is a convenience function that calls mz_search to retrieve latitude and longitude.

Usage

1
mz_geocode(location, ...)

Arguments

location

An address or other suitably specific search string

...

Additional arguments passed on to mz_search

Value

A tibble, with the parsed address used to retrieve the geocode, lat/lon, and the confidence (between 0 and 1)

See Also

mz_search, mz_reverse_geocode

Examples

1
2
3
4
5
6
7
## Not run: 
mz_geocode("1600 Pennsylvania Ave., Washington DC")

# can also be a landmark
mz_geocode("Statue of Liberty, New York")

## End(Not run)

tarakc02/rmapzen documentation built on Oct. 8, 2018, 12:20 a.m.