Data Tidying and Importing with R
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Data Tidying and Importing with R
This course is part of Data Science with R Specialization
Included with
Learn more
Ask Coursera
13 reviews
13 reviews
What you'll learn
Apply tidy data principles to manipulate and restructure data (e.g., subsetting, adding columns, and transforming data between wide and long formats)
Develop and implement code to join data sets and perform basic web scraping to collect data
Apply data structures such as wide and long formats, using code to convert between these formats as part of data preparation and analysis
Skills you'll gain
Tools you'll learn
Details to know
3 assignments
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 3 modules in this course
Build confidence working with messy, real-world data. In this course, youβll learn how to import, clean, and organize data in R so that itβs ready for analysis, visualization, or modeling.
Using dplyr, tidyr, and other Tidyverse tools, youβll practice joining datasets, reshaping data, and creating efficient data pipelines that support reproducible work. Youβll also explore how to responsibly collect and scrape data from online sources, including ethical and legal considerations. By the end of this course, youβll know how to transform raw datasets into structured, tidy formats and youβll understand how responsible data handling and documentation are essential to high-quality, ethical data science.
Tidy datasets have a specific structure: each variable is a column, and each observation is a row. In this module, we use functional verbs from the dplyr package in R to transform data into a ready-to-use tidy data format. Additionally, we use functional verbs to manipulate data frames.
What's included
6 videos12 readings1 assignment2 discussion prompts1 plugin
6 videosβ’Total 73 minutes
- Welcomeβ’2 minutes
- Tidy Dataβ’4 minutes
- Tidying Dataβ’7 minutes
- Code Along :: Country Populations Over Timeβ’24 minutes
- Joining Dataβ’10 minutes
- Code Along :: Continent Populationsβ’25 minutes
12 readingsβ’Total 115 minutes
- Course Overviewβ’10 minutes
- Meet Your Instructorsβ’10 minutes
- Get Ready to Compute with R and RStudio!β’10 minutes
- Discussion Guidelinesβ’10 minutes
- Report a problem with the courseβ’5 minutes
- JSS :: Tidy Dataβ’10 minutes
- R4DS :: Chp 5 - Data Tidying (Sections 5.3 and 5.4)β’10 minutes
- Code Along :: Country Populations Over Time - Companionβ’10 minutes
- Code Along :: Country Populations Over Time - Companion (Complete)β’10 minutes
- R4DS :: Chp 19.1 - 19.4 - Joinsβ’10 minutes
- Code Along :: Continent Populations - Companionβ’10 minutes
- Code Along :: Continent Populations - Companion (Complete)β’10 minutes
1 assignmentβ’Total 60 minutes
- Tidy Data Quizβ’60 minutes
2 discussion promptsβ’Total 20 minutes
- Course Introductionsβ’10 minutes
- Tidy Basketball Reflection (Optional)β’10 minutes
1 pluginβ’Total 15 minutes
- Tidy Basketballβ’15 minutes
A column in our data set can be stored as many different types, such as numbers or characters. These different data types inform how R treats the data, and whether certain functions are compatible to use with certain types of data. In this module, we discuss more in detail, the different data types classified by R, data classes, as well as how to recode variables in a data set to be different types, classes, or take on different values.
What's included
6 videos13 readings1 assignment1 discussion prompt1 plugin
6 videosβ’Total 77 minutes
- Data Typesβ’11 minutes
- Code Along :: That's My Typeβ’8 minutes
- Data Classesβ’7 minutes
- Code Along :: Halving CO2 Emissionsβ’19 minutes
- Importing Dataβ’16 minutes
- Code Along :: Importing and Recodingβ’14 minutes
13 readingsβ’Total 130 minutes
- R4DS :: Chp 12.1 - 12.4 - Logical Vectorsβ’10 minutes
- R4DS :: Chp 13 - Numbersβ’10 minutes
- R4DS :: Chp 14.1 - 14.3 - Stringsβ’10 minutes
- Code Along :: That's My Type - Companionβ’10 minutes
- Code Along :: That's My Type - Companion (Complete)β’10 minutes
- R4DS :: Chp 16 - Factorsβ’10 minutes
- R4DS :: Chp 17 - Dates and Timesβ’10 minutes
- Code Along :: Halving CO2 Emissions - Companionβ’10 minutes
- Code Along :: Halving CO2 Emissions - Companion (Complete)β’10 minutes
- R4DS :: Chp 7 - Data Importβ’10 minutes
- R4DS :: Chp 20 - Spreadsheetsβ’10 minutes
- Code Along :: Importing and Recoding - Companionβ’10 minutes
- Code Along :: Importing and Recoding - Companion (Complete)β’10 minutes
1 assignmentβ’Total 60 minutes
- Importing + Recoding Data Quizβ’60 minutes
1 discussion promptβ’Total 10 minutes
- Nobel Prize Winners & Sales Data Reflection (Optional)β’10 minutes
1 pluginβ’Total 15 minutes
- Nobel Prize Winners & Sales Dataβ’15 minutes
Web scraping is the process of extracting this information automatically and transforming it into a structured dataset. In this module, we go over how to perform basic web scraping in R to make an abundance of data online more easily accessible.
What's included
4 videos6 readings1 assignment2 discussion prompts1 plugin
4 videosβ’Total 55 minutes
- Web Scrapingβ’10 minutes
- Web Scraping Considerationsβ’5 minutes
- Code Along :: Scraping an eCommerce Pageβ’20 minutes
- Code Along :: Scraping many eCommerce Pagesβ’20 minutes
6 readingsβ’Total 60 minutes
- Code Along :: Scraping an eCommerce Page - Companion (Complete)β’10 minutes
- R4DS :: Chp 25.1 - 25.2 - Functionsβ’10 minutes
- R4DS :: Chp 26 - Iteration (Optional)β’10 minutes
- Code Along :: Scraping Many eCommerce Pages - Companion (Complete)β’10 minutes
- Final Course Project (Optional)β’10 minutes
- Share your learning experienceβ’10 minutes
1 assignmentβ’Total 60 minutes
- Web Scraping and Programming Quizβ’60 minutes
2 discussion promptsβ’Total 20 minutes
- IMDB + Web Scraping Reflection (Optional)β’10 minutes
- Final Project Reflection (Optional)β’10 minutes
1 pluginβ’Total 15 minutes
- IMDB + Web Scrapingβ’15 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructors
Offered by
Explore more from Data Analysis
- Status: Free TrialJ
Johns Hopkins University
Course
- Status: Free TrialM
Microsoft
Course
- C
Coursera
Guided Project
- Status: Free TrialJ
Johns Hopkins University
Course
Why people choose Coursera for their career
Frequently asked questions
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you canβt afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, youβll find a link to apply on the description page.
More questions
Financial aid available,
