Description Usage Arguments Value References Examples
View source: R/getInforFromInput.R
Loops over the vector of addressInfo and/or coordinates, passes each one of them as a parameter
to an internal function that connects to the Google Geocoding API
via URL and gets the output. Then it
returns the output of the request into a formatted dataframe with the geocoding information.
1 | getInforFromInput(address)
|
address |
A character vector with of address/es and/or some coordinates (latitude and longitude) |
A data.frame containing the resulting longitude/s
, latitude/s
and address/es
Google Geocoding API - https://developers.google.com/maps/documentation/geocoding/intro
1 | getInforFromInput(c("Spain", "smålandsvägen 42D, Linghem"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.