Keywords: data maps, OpenStreetMap, spatial, visualization
Webpages:
https://CRAN.R-project.org/package=osmplotr,
https://github.com/ropensci/osmplotr,
https://github.com/osmdatar/osmdata R, like any and every other system for analysing and visualising spatial data, has a host of ways to overlay data on maps (or the other way around). Maps nevertheless contain data—nay, maps
are data—making this act tantamount to overlaying data upon data. That’s likely not going to end well, and so this talk will present two new packages that enable you to visualise your own data with actual map data such as building polygons or street lines, rather than merely overlaying (or underlaying) them. The
osmdata package enables publically accessible data from OpenStreetMap to be read into
R, and
osmplotr can then use these data as a visual basis for your own data. Both categorical and continuous data can be visualised through colours or through structural properties such as line thicknesses or types. We think this results is more visually striking and beautiful data maps than any alternative approach that necessitates separating your data from map data.