read shape file

read_shape(path)

Arguments

path

path to shapefile

Examples

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 TRUE
states <- states %>% mutate( long = replace(long, long > 100, long[long > 100]-360) )