Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn Data Manipulation in R in less than 2 hours
New
Rating: 5.0 out of 5(1 rating)
1 students

Learn Data Manipulation in R in less than 2 hours

Clean messy data, use dplyr and tidyr, join datasets, handle missing values, and create grouped summaries
Last updated 10/2026
English

What you'll learn

  • Clean messy datasets in R by identifying and handling missing values, duplicate records, inconsistent labels, incorrect data types, and potential outliers.
  • Manipulate datasets using dplyr functions such as select(), filter(), arrange(), mutate(), and group_by().
  • Create new variables and recode existing variables using conditional logic with case_when() and other data transformation functions.
  • Combine multiple datasets using left_join(), inner_join(), and full_join(), and verify the results using row counts and data checks.
  • Reshape and reorganize datasets using tidyr functions to prepare data for analysis and visualization
  • Calculate descriptive statistics, including counts, percentages, means, standard deviations, and standard errors, using R

Course content

7 sections • 7 lectures • 1h 40m total length
  • Introduction0:36

Requirements

  • Basic knowledge of R

Description

Do you want to learn how to clean messy data, transform datasets, combine tables, and prepare data for analysis using R?

In this hands-on course, you will learn how to manipulate and clean data using dplyr and tidyr, two essential packages in the R ecosystem. Through practical coding examples and step-by-step demonstrations, you will develop the skills needed to turn raw datasets into clean, organized, analysis-ready data.

What You Will Learn

By the end of this course, you will be able to:

  • Clean messy data: Identify and handle missing values, duplicate records, inconsistent labels, and incorrect data types.

  • Manipulate rows and columns: Use select(), filter(), arrange(), and other essential dplyr functions to organize datasets.

  • Create and transform variables: Use mutate() and case_when() to create new variables and recode existing values.

  • Combine datasets: Use left_join(), inner_join(), and full_join() to merge information from multiple tables.

  • Reshape data: Use tidyr functions to reorganize datasets into formats suitable for analysis.

  • Calculate descriptive statistics: Compute counts, percentages, means, standard deviations, and standard errors.

  • Summarize grouped data: Use group_by() and summarise() to calculate statistics across categories.

  • Validate your results: Check row counts, inspect variables, and verify that your data transformations produce the expected results.

You will work with datasets available in R and commonly used R packages, allowing you to focus on learning and practicing data manipulation techniques.

Who this course is for:

  • students, researchers, graduate students, and aspiring data analysts