Description Usage Arguments Value Examples
Using data from the shapefile in http://www.mapcruzin.com/fcc-wireless-shapefiles/cities-towns.zip
this functon geocodes one more more city/state combos into lon/lat pairs. Since it
uses mapply
for the vectorization, you can either pass in equal length vectors
for city
and state
or pass in a vector of cities/towns in city
and
a single state in state
. See the examples if that's confusing.
1 |
city |
vector of cities to geocode |
state |
vector of states to geocode |
a data.frame
of successfully geocoded entries
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.