hrbrmstr / albersusa

Tools, shapefiles & data to work with an "AlbersUSA" composite projection in R
Other
77 stars 16 forks source link

Points_elided not working with Tigris sp #20

Open jpkennedy144 opened 4 years ago

jpkennedy144 commented 4 years ago

One of the recent changes to points_elided may have made it stop working with the Tigris package.

library(tigris) library(albersusa) sp_states = states(cb = TRUE) us.map = points_elided(sp_states )

Returns

Error in [.data.frame(x@data, i, j, ..., drop = FALSE) : undefined columns selected