Geocoding with osmdata in R

In a previous post I demonstrated how one can generate map-based heatmap distribution plots using the Leaflet package in R. In that example I implemented a function that sends locations as strings to a Open Street Map API and then…

Introduction to Leaflet heatmaps in R

In this code example I use a geocoding function found on datascienceplus to geocode Google trends search intensity data, comparing search trend by city name for “Burger” and “Pizza” in Germany. I then visualize the results with heatmaps, generated with…