R/set_geo_options.R

Defines functions set_geo_options

Documented in set_geo_options

#' Set options of spatial analysis
#'
#' Set the options for tigris and other spatial packages at start of analysis
#' @return
#' @export
#'
#' @examples
#' set_geo_options()
set_geo_options <- function() {

  options(tigris_class = "sf",
          tigris_use_cache = TRUE)

  sf_use_s2(F)

}
januaryadvisors/jaspatial documentation built on Sept. 3, 2023, 4:22 p.m.