Cleaning Data in R
Learn to clean data as quickly and accurately as possible to help your business move from raw data to awesome insights.Start Course for Free
4 Hours13 Videos44 Exercises40,440 Learners
Create Your Free Account
Loved by learners at thousands of companies
Overcome Common Data Problems Like Removing Duplicates in RIt's commonly said that data scientists spend 80% of their time cleaning and manipulating data and only 20% of their time analyzing it. The time spent cleaning is vital since analyzing dirty data can lead you to draw inaccurate conclusions.
In this course, you’ll learn a variety of techniques to help you clean dirty data using R. You’ll start by converting data types, applying range constraints, and dealing with full and partial duplicates to avoid double-counting.
Delve into Advanced Data ChallengesOnce you’ve practiced working on common data issues, you’ll move on to more advanced challenges such as ensuring consistency in measurements and dealing with missing data. After every new concept, you’ll have the chance to complete a hands-on exercise to cement your knowledge and build your experience.
Learn to Use Record Linkage During Data CleaningRecord Linkage is used to merge datasets together when the values have issues such as typos or different spellings. You’ll explore this useful technique in the final chapter and practice the application by using it to join two restaurant review datasets together into a single dataset.
Common Data ProblemsFree
In this chapter, you'll learn how to overcome some of the most common dirty data problems. You'll convert data types, apply range constraints to remove future data points, and remove duplicated data points to avoid double-counting.
Categorical and Text Data
Categorical and text data can often be some of the messiest parts of a dataset due to their unstructured nature. In this chapter, you’ll learn how to fix whitespace and capitalization inconsistencies in category labels, collapse multiple categories into one, and reformat strings for consistency.
Advanced Data Problems
In this chapter, you’ll dive into more advanced data cleaning problems, such as ensuring that weights are all written in kilograms instead of pounds. You’ll also gain invaluable skills that will help you verify that values have been added correctly and that missing values don’t negatively impact your analyses.
Record linkage is a powerful technique used to merge multiple datasets together, used when values have typos or different spellings. In this chapter, you'll learn how to link records by calculating the similarity between strings—you’ll then use your new skills to join two restaurant review datasets into one clean master dataset.Comparing strings50 xpCalculating distance50 xpSmall distance, small difference100 xpFixing typos with string distance100 xpGenerating and comparing pairs50 xpLink or join?100 xpPair blocking100 xpComparing pairs100 xpScoring and linking50 xpScore then select or select then score?100 xpPutting it together100 xpCongratulations!50 xp
In the following tracksData Scientist with RData Scientist Professional with RImporting & Cleaning Data with R
PrerequisitesJoining Data with dplyr
Maggie MatsuiSee More
Curriculum Manager at DataCamp
Maggie is a Curriculum Manager at DataCamp. She holds a Bachelor's degree in Statistics and Computer Science from Brown University, where she spent lots of time teaching math, programming, and statistics as a tutor and teaching assistant. She's passionate about teaching all things data-related and making programming accessible to everyone.
Don’t just take our word for it
*4.3from 19 reviews
- Daniel M.29 days
Great course, very useful content, I will retake it for sure. I wished there was a second part though.
- Euler A.3 months
Very good material. Working with string is excellent.
- Nicolas F.4 months
This course was succinct,simple,and effective. I learned a ton in a short period of time.
- Andrew H.5 months
Very good course especially case study
- Marc A.5 months
"Great course, very useful content, I will retake it for sure. I wished there was a second part though."
"Very good material. Working with string is excellent."
"This course was succinct,simple,and effective. I learned a ton in a short period of time."
Join over 11 million learners and start Cleaning Data in R today!
Create Your Free Account