Shield image course 1635 20160823 26 6h9lfi?1477576789

Exploring Polling Data in R

9 Exercises 1 hour 425 Participants 800 XP

Open Course Description

Polls can be an incredibly valuable tool for understanding politics and are a central component of campaign analysis from policy experts, commentators, and even the candidates themselves. In this course you’ll explore the uses of polling data by examining summary statistics and visualizations of polls from the 2016 Republican and Democratic primaries using base R plots, the ggplot2 package, and the googleVis package.

Chapter 1: Exploring Polling Data in R

This chapter will show you how to explore, refine, and visualize a sample of polling data from the 2016 primaries. You'll start with simple visualizations using base R commands before proceeding to more complicated plots in the ggplot2 package. The final exercises teach you how to generate maps in R using the maps package and the googleVis package.

Author image course 1635 20160830 26 184s4vk?1472575034
Matthew Isaacs
Matthew Isaacs is a course development intern at DataCamp and a PhD candidate in Political Science at Brandeis University. His research uses time series methods to understand political violence and civil war.