O'Reilly logo

Introduction to R for Business Intelligence by Jay Gendron

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required