geocode_mapquest_batch: Interface with MapQuest API to geocode addresses

Description Usage Arguments Value Examples

View source: R/geocode.R

Description

geocode_mapquest_batch creates and executes calls to MapQuest batch geocoding API via HTTP GET. This batch version allows calls of 100 locations at a time.

Usage

1
geocode_mapquest_batch(addresses, key)

Arguments

addresses

A string vector containing addresses, locations, or points of interest to geocode.

key

An individual API authentication key. MapQuest provides 15,000 free monthly transactions with a non-gated account. An account can be created here: https://developer.mapquest.com/plan_purchase/steps/business_edition/business_edition_free/register

Value

A dataframe will be returned with the given addresses and their corresponding latitudes and longitudes. These are attributed to the closest street location.

Examples

1
geocode_mapquest_batch(schools, key = Sys.getenv("MAPQUEST_API_KEY"))

chiouey/mapquestr documentation built on July 19, 2020, 8:41 p.m.