Geo-mapping using Leaflet

Geo-mapping is the process of placing markers representing data in a geographic context, typically using latitude and longitude. Leaflet is an open source JavaScript library for building interactive geo-maps with ease. Why are we talking about a JavaScript mapping library in an R book? The R package leaflet is a wrapper around this JavaScript library that translates most of its functionality into a set of R functions. It allows analysts to visualize geospatial data easily. With this package, you can generate maps from within RStudio or embed them in R Markdown documents or Shiny web applications.

Note

Use case: Geo-mapping Bike Stations

Remember when you supported management by creating a business case for the location ...

Get Introduction to R for Business Intelligence now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.