Geocodes a location (determines latitude and longitude from physical address) using the Google Maps API. Note that the Google Maps API requires registered credentials (Google Cloud Platform), see the ggmap package for more details at https://github.com/dkahle/ggmap. Note that when using this function you are agreeing to the Google Maps API Terms of Service at https://developers.google.com/maps/terms.
a character vector of physical addresses (e.g. 1600 University Ave., Morgantown, WV)
Returns a two column matrix with the latitude and longitude of each location queried.
Jamie Spaulding, Keith Morris
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.