Old map

[This article was first published on r.iresmi.net, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

A photo of a raman road in Pompeii

Roman Road Through Pompeii – CC-BY-NC-ND by cliff hellis

Day 11 of 30DayMapChallenge: « Retro » (previously).

Using data from Ancient World Mapping Center we map the Roman road network.


# https://www.dafont.com/spqr.font
font_add(family = "spqr", regular = "spqr.otf")

# https://github.com/AWMC/geodata/tree/master/Cultural-Data/roads
# See also : http://awmc.unc.edu/wordpress/map-files/
roads <- read_sf("https://cdn.githubraw.com/AWMC/geodata/124b9ada1ab9031b5eede597bd24943e924232ea/Cultural-Data/roads/roads.geojson") |> 
  st_transform("EPSG:3035") |> 
  filter(!between(OBJECTID, 3328, 3330))

countries <- ne_countries(scale = 50, returnclass = "sf") |> 

extent <- roads |>
  st_buffer(100000) |> 
ggplot() +
  geom_sf(data = countries, color = "burlywood3", fill = "burlywood3") +
  geom_sf(data = roads, color = "sienna4", linewidth = .3) +
  coord_sf(xlim = extent[c(1, 3)], ylim = extent[c(2, 4)]) +
  labs(title = "roman roads",
       caption = "Data: Ancient World Mapping Center 2012\nBasemap: Natural Earth") +
  theme_void() +
  theme(panel.background = element_rect(fill = "seashell1", color = NA),
        plot.background = element_rect(fill = "seashell1", color = NA),
        plot.title = element_text(family = "spqr", size = 20),
        plot.caption = element_text(size = 6))

To leave a comment for the author, please follow the link and comment on their blog: r.iresmi.net.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)