Description Usage Arguments Value
View source: R/Google_geocode.R
Google_geocode
is designed to take an address
string, and user app key. The function queries the Google Geocode
API
(https://developers.google.com/maps/documentation/geocoding/start)
and returns the various components from the JSON output code. This
geocoding information from the JSON is originally returned as a vector.
1 | Google_geocode(address = NULL, key = NULL, verbose = FALSE)
|
address |
a string; the address to be queried for geocoded information. |
key |
a string; the user's Google API key |
verbose |
a boolean; |
location information for the entered address string: original_address, latitude, longitude, formatted_address, street_number , route, locality (city), administrative_area_3 (district) , administrative_area_2 (county), administrative_area_1 (state) , country, postal_code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.