R/deprecated/makeMap.R

Defines functions makeMap

#' Generates world map using the maps package
#' And converts it to sf format
#' @return 'baseMap' is a basic map of the world in sf format
#' @export
makeMap <- function() {
  baseMap <- st_as_sf(map('world', plot=F, fill=T))
  assign('baseMap',baseMap,envir=.GlobalEnv)
  # return(baseMap)
}
JCur96/sfe documentation built on Sept. 2, 2020, 6:02 p.m.