eiCompare (version 3.0.0)

map_shape_file: Function for making basic choropleth maps of shape_file using the tigris package and ggplot

Description

Function for making basic choropleth maps of shape_file using the tigris package and ggplot

Usage

map_shape_file(
  shape_file,
  crs = "+proj=latlong +ellps=GRS80 +no_defs",
  title = "Title of the Shapefile"
)

Arguments

shape_file

a shape file based on desired ecological unit (i.e. state, county, block, tract)

crs

the Coordinate reference system, default is crs="+proj=latlong +ellps=GRS80 +no_defs"

title

the tile of the map

Value

Plots of mapped ecological units desired shape