Add cartography package to area mapping tutorial
Closed this issue · 1 comments
The tutorial 'Mapping area data' currently uses the tmap
package for static choropleth maps. These would be better done with the cartography
package because it allows inclusion of base maps on static choropleth maps. Keep using tmap
as a wrapper around leaflet
for dynamic maps.
The cartography
package has been discontinued since the issue was raised and the replacement mapsf
package does not currently include functions for getting map tiles, so it has no real advantages over using ggmap
. It would be possible to transition the tutorial to use cartography
for now and then mapsf
if/when it supports getting map tiles, but the benefits of doing so do not justify re-writing the tutorial twice.
The problem of misaligned map tiles in small-scale ggmap
maps (dkahle/ggmap#298) still exists, but there doesn't appear to be a solution to it at present (not least because ggmap
now appears orphaned) so I'm closing this issue.