Sitemap
Appsilon

Appsilon guides large corporations with domain and technical expertise for innovative data analytics, project development, and machine learning solutions in the Life Sciences. Our core purpose is to: ‘Advance technology to preserve and improve human life.’

Member-only story

R ggmap — How to Visualize Spatial Data in R

8 min readNov 10, 2022

--

Article thumbnail (image by author)

Spatial data is always tougher to visualize than it seems at first. Well, not anymore. R ggmap is an amazing package you can start using almost instantly, after some light configuration. It won’t take you more than a couple of minutes to configure everything and have your first map ready.

Today you’ll learn how to use the ggmap package to do almost everything geodata-related. We'll kick things off by plotting basic maps, markers, and paths, and then dive into changing map themes. Once that's under our belt, we'll focus on advanced topics, including geocoding, reverse geocoding, drawing routes, and calculating distance between locations.

Want to build interactive Google Maps? Here’s a complete guide for interactive Google Maps in Shiny.

Introduction to R ggmap Package

First things first, there’s a bit of setup we have to go over. ggmap uses Google Maps behind the scenes, so you'll need an active Google Cloud Platform account. You'll also have to set up billing, as it's required for their mapping APIs. Don't worry, GCP won't charge you a penny without…

--

--

Appsilon
Appsilon

Published in Appsilon

Appsilon guides large corporations with domain and technical expertise for innovative data analytics, project development, and machine learning solutions in the Life Sciences. Our core purpose is to: ‘Advance technology to preserve and improve human life.’

No responses yet