Creating interactive maps might seems a pretty complex task, that would require deep knowledge of JavaScript
and quite some coding. Luckily, the package leaflet
allows R
users of taking advantage of the homonym JavaScript
library to create interactive maps in just 3 lines of code. Let’s look at the vehicle crashes in Maryland in 2019 with an interactive map!
A Shiny App!
How can someone use R
without typing even a single line of code on a terminal?
Lucky you… the present is Shiny!