Skip to main content
HomeR

Case Study: Exploratory Data Analysis in R

4.8+
15 reviews
Beginner

Use data manipulation and visualization skills to explore the historical voting of the United Nations General Assembly.

Start Course for Free
4 hours15 videos58 exercises54,144 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies


Course Description

Once you've started learning tools for data manipulation and visualization like dplyr and ggplot2, this course gives you a chance to use them in action on a real dataset. You'll explore the historical voting of the United Nations General Assembly, including analyzing differences in voting between countries, across time, and among international issues. In the process you'll gain more practice with the dplyr and ggplot2 packages, learn about the broom package for tidying model output, and experience the kind of start-to-finish exploratory analysis common in data science.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.

In the following Tracks

Data Manipulation in R

Go To Track
  1. 1

    Data cleaning and summarizing with dplyr

    Free

    The best way to learn data wrangling skills is to apply them to a specific case study. Here you'll learn how to clean and filter the United Nations voting dataset using the dplyr package, and how to summarize it into smaller, interpretable units.

    Play Chapter Now
    The United Nations Voting Dataset
    50 xp
    Filtering rows
    100 xp
    Adding a year column
    100 xp
    Adding a country column
    100 xp
    Grouping and summarizing
    50 xp
    Summarizing the full dataset
    100 xp
    Summarizing by year
    100 xp
    Summarizing by country
    100 xp
    Sorting and filtering summarized data
    50 xp
    Sorting by percentage of "yes" votes
    100 xp
    Filtering summarized output
    100 xp
  2. 2

    Data visualization with ggplot2

    Once you've cleaned and summarized data, you'll want to visualize them to understand trends and extract insights. Here you'll use the ggplot2 package to explore trends in United Nations voting within each country over time.

    Play Chapter Now
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

In the following Tracks

Data Manipulation in R

Go To Track

datasets

United Nations voting datasetTopic information for each country (Descriptions)

collaborators

Collaborator's avatar
Nick Carchedi
Collaborator's avatar
Tom Jeon
David Robinson HeadshotDavid Robinson

Principal Data Scientist at Heap

Dave is the Principal Data Scientist at Heap. He has worked as a data scientist at DataCamp and Stack Overflow, and received his PhD in Quantitative and Computational Biology from Princeton University. Follow him at @drob on Twitter or on his blog, Variance Explained.
See More

Don’t just take our word for it

*4.8
from 15 reviews
87%
13%
0%
0%
0%
Sort by
  • Edmundo M.
    10 months

    This course has amazed me. The power of R through their packages Purrr, broom, dplyr, and ggplot2 to manipulate data frames and tidy tables becomes a reality in this course. The power to convert several columns (variables) into a nested dataframe for each row of the objects under analysis plus the map function to apply different transformations and functions in a couple of lines of code is just AMAZING. This course takes you to another level of exploratory data analysis with R. According to the instructor David Robinson, as if that were not enough, this is just the surface of what you can do with R.

  • Li D.
    11 months

    Great

  • Michael H.
    about 1 year

    This was my first case study and I really enjoyed it. I found it interesting and a great way to apply the skills I have learnt in other courses.

  • Neal S.
    over 1 year

    Good practical overview

  • Richard L.
    over 1 year

    Interesting course.

"Great"

Li D.

"This was my first case study and I really enjoyed it. I found it interesting and a great way to apply the skills I have learnt in other courses."

Michael H.

"Good practical overview"

Neal S.

Join over 15 million learners and start Case Study: Exploratory Data Analysis in R today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.