Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 812 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 812 Bytes

mapquestr

mapquestr provides an R interface to interact with (parts of) the MapQuest APIs.

Installation

You can install the development version from GitHub by running:

# install.packages("devtools")
devtools::install_github("chiouey/mapquestr")

You can obtain a key here.

Usage

Documentation can be interrogated, but as a teaser:

library(mapquestr)

geocode_mapquest(c("765 Broad St Newark, NJ 07102", "219 Avon Ave Newark, NJ 07108"),
                 key = Sys.getenv("MAPQUEST_KEY")) %>%
  as.data.frame()

#>                        address       lat        lon
#>1 765 Broad St Newark, NJ 07102 40.736341 -74.171953
#>2 219 Avon Ave Newark, NJ 07108 40.726005 -74.200559