read_shape.Rd
read shape file
read_shape(path)
path | path to shapefile |
---|
states <- read_shape("data-raw/tl_2016_us_state/tl_2016_us_state.shp")#> Error in read_shape("data-raw/tl_2016_us_state/tl_2016_us_state.shp"): file.exists(path) is not TRUEstates <- states %>% mutate( long = replace(long, long > 100, long[long > 100]-360) )