Join LGD boundary geometries to a data frame containing a State column.
Returns an sf object suitable for ggplot2::geom_sf().
Value
An sf object with geometry attached. Non-geographic entries
("All States (Total)", "Unknown") are dropped.
Examples
if (FALSE) { # \dontrun{
deaths <- get_mccd("cause", sex = "T", year = 2020)
deaths_sf <- attach_geometry(deaths)
ggplot(deaths_sf) +
geom_sf(aes(fill = Deaths))
} # }