I am using R to draw US map at county level. I downloaded the shapefile for US from GADM. The county-level shape file is "gadm36_USA_2.shp". I then used the code below to draw map:
library(sf)
library(tidyverse)
us2 <- st_read("<Path>\\gadm36_USA_2.shp")
mainland2 <- ggplot(data = us2) +
geom_sf(aes(fill = NAME_2), size = 0.4, color = "black") +
coord_sf(crs = st_crs(2163),
xlim = c(-2500000, 2500000),
ylim = c(-2300000, 730000)) + guides(fill = F)
The Great Lakes region (shown by red arrows) is plotted rather than left blank:
What I want is a figure like below, where the Great Lakes region is left blank:
How could I identify from the "gadm36_USA_2.shp" which rows correspond to the Great Lakes region so that I may delete them?
I understand there may be other ways to obtain shapefile than GADM. I believe GADM is an excellent source that provides bourndaries worldwide. I wish to take this opportunity to better acquaint myself with data downloaded from GADM.
Of course, other methods to obtain US county-level boundary data are welcome. I noted USAboundaries
package also provide country, state, and county level coundaries, but I am having difficulties installing associated USAboundariesData package. Any idea to draw US counties in ways other than shapefile from GADM is welcome. Thanks.