#' Easier Choropleth Maps
#'
#' @export
#'
#' @title Easier Choropleth Maps
#'
#' @name map
#'
#' @param area The geographical area for which the map should be drawn (currently only 'Italy')
#' @param ... Arguments for the called function
#'
#' @return NULL
#'
#' @author Nicola Sturaro
map <- function(..., area = "Italy") {
if(tolower(area) %in% c("it", "italy", "italia")) {
mapIT(...)
} else {
stop("area actually support only 'Italy'.")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.