Function for making basic choropleth maps of longitude and latitude points using the tigris package and ggplot
map_shape_points(
voter_file,
shape_file,
crs = "+proj=longlat +ellps=GRS80",
title = "title"
)
a voter file with latitude, longitude, or latitude/longitude and other geographic data.
a shape file based on desired ecologicla unit (i.e. state, county, block, tract)
the Coordinate reference system, default is crs="+proj=latlong +ellps=GRS80 +no_defs"
the tile of the map
Plots of mapped ecological units desired and voter latitude and longitudes