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
From the course: Data Visualization in R with ggplot2
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
Visualizing data with maps2m 38s
-
(Locked)
Obtaining a Google Maps API key6m 58s
-
(Locked)
Working with maps3m 27s
-
(Locked)
Geocoding points4m 37s
-
(Locked)
Changing map types4m 18s
-
(Locked)
Plotting points on a map6m 42s
-
(Locked)
Building a map manually5m 37s
-
(Locked)
Creating a choropleth map9m 16s
-
-
-