#' Geocode a location
#'
#' Geocodes a location using Google Maps.
#' @param location The name of a location
#' @importFrom ggmap geocode
#' @export
#' @examples
#' # For examples, see examples for the geocode function (ggmap package).
md_geocoder <- function(location = NULL) {
if (!is.null(location)) {
geocode(location)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.