DOI-USGS / meddle

Tools for metadata creation and data releases
Other
0 stars 10 forks source link

new sf-focused `extract_spatial` method results in state duplicates #63

Closed jordansread closed 3 years ago

jordansread commented 3 years ago
library(sf)
sfc = st_sfc(st_point(c(-89, 45)), st_point(c(-89.2, 45)), st_point(c(-109, 42)), crs = 4326)
sf = st_sf(data.frame(val = c('WI_point', 'WI2_point','WY_point'), geom=sfc))
feature_states(sf)

☝️ has two list elements for WI, should only have one.