From the course: Data Visualization in R with ggplot2

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Obtaining a Google Maps API key

Obtaining a Google Maps API key

From the course: Data Visualization in R with ggplot2

Start my 1-month free trial

Obtaining a Google Maps API key

- [Instructor] When we build map-based visualizations, it's helpful to build upon the work of others. Cartographers have done this throughout history and when we build map-based visualizations in R, we can do the same thing. In our R-based map visualizations, we'll rely upon Google Maps to provide the base maps that we can place data on top of and also to help us find locations on the map. We'll access Google Maps using their API. An API is an application programming interface and it's a way to request data from a service using web calls. Google wants to know who's using the Google Maps API so they require you to obtain an API key before using the service. For use at our scale, an API key is free so you can obtain your own for use in these exercises. Let's walk through that process. First you need to visit the Google API console. If you're not already logged into your Google account, you'll be asked to either log into your existing account or create a new one. The first thing you need…

Contents