Description Usage Arguments Details Value Examples
gcode
Geocodes a dataframe of addresses using Google Maps API via ggmap
1 |
df |
A single-column dataframe of addresses. |
infile |
The file name or path of the input csv. Used as the base to which reference coordinates are appended |
components |
Logical. Postal code is included if |
The function takes a single-column dataframe of addresses. It then geocodes those addresses, returning a new dataframe with additional columns for latitude, longitude and full address. Postal code can also be included as a separate column.
A dataframe object with initial address, lat, long and full address. Postal code may also be included.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.