Closed embruna closed 2 months ago
test_sf2 <- test_sf %>%
select(LON,LAT,id, ADMIN) %>%
rename(long=LON,
lat=LAT,
order=id,
id=ADMIN) %>%
mutate(group=paste(id,".1",sep="")) %>%
ungroup() %>%
select(-geometry) %>%
as_tibble()
str(test_sf2)
head(test_sf2)
head(world_map.points)
suggested alterantives to fortify are sf and broom
This response to my SE questions explains how to do this without requiringsf
as a dependency
in)` was deprecated in ggplot2 3.4.4.
Please migrate to sf.
plot_net_addresses
fortify(├─ggplot2::fortify(world_map) └─ggplot2:::fortify.SpatialPolygonsDataFrame(world_map)