R/map.R

#' 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'.")
  }
}
quantide/mapIT documentation built on May 26, 2019, 12:36 p.m.