Keeping secrets in blogdown

Keeping API keys and passwords secret in a blogdown blog using the static/ folder and the secret package.

Continue reading

Using ggmap after July 2018

ggmap is an awesome package for creating maps with ggplot2. If you’ve seen a nice looking map built with ggplot2 I can almost guarantee you that it uses ggmap to look that good. The ggmap package is …

Continue reading

Great circles with sf and leaflet

Great circles are the shortest journeys between two points on a map, which can be easily computed and manipulated through the use of the excellent sf library, and visualised interactively with leaflet.

Continue reading