I'm trying to expand/enlarge a shapefile of the Cherokee Nation that I downloaded from the Census dataset here: https://www2.census.gov/geo/tiger/TIGER2019/AIANNH/ using the rgeos package. The code I have for this currently is:
library(rgeos)
library(dplyr)
tribe_shp <- readOGR("/location of file/", layer = "tl_2019_us_aiannh")
tribe_shp <- tribe_shp %>% filter(GEOID == "5550R") #filter to cherokee nation
expand_obj <- gBuffer(tribe_shp, byid = F, width = 1000)
>Warning message:
In gBuffer(tribe_shp, byid = F, width = 1000) :
Spatial object is not projected; GEOS expects planar coordinates
plot(expand_obj)
The resulting object loses the dataframe of the original SPDF and is pretty much just a circle that doesn't resemble the original shape at all. Is there something I am missing?