This package was developed as part of Lab Assignment at Linkoping University. This package has function two functions:
geocode_response which takes an address as input and returns the lattitude and lognitude associated with that address as a vector. The address is in turn passed to a shiny app connected to google's Geocoding API and shows the address on the map.
reverse_geocode_response which takes latitude and longitude as input and returns a complete address. The shiny app shows the address on the map.
It requires the user to provide an API key for google's Geocoding API.
```{r run, eval=FALSE, message=FALSE, warning=FALSE, paged.print=FALSE}
library(GeoShiny) library(shiny)
runGitHub("GeocodingShiny", "mariatreesa") ```
Given a latitude and longitude instead of an address the reverse geocode returns the complete address of the location. Map views can also be changed from default map view to satellite view
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.