hrbrmstr/albersusa

Points_elided not working with Tigris sp

Opened this issue · 0 comments

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