how-to-leaflet
Build a simple interactive map with the leaflet
package in R, making use of GeoJSON, Spatial Points/Polygons Data Frames (SPDF), coordinate conversion, conditional polygon fills, conditional marker colours and styles, marker groups and marker popups.
Live document: https://matt-dray.github.io/how-to-leaflet
Presented originally in a public-sector divisional analysts meeting, 13 Feb 2018.