When you enroll in this course, you'll also be enrolled in this Specialization.
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.
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
Importing + Recoding Data
Module 2•5 hours to complete
Module details
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.
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 and Programming
Module 3•3 hours to complete
Module details
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.
Duke University has about 13,000 undergraduate and graduate students and a world-class faculty helping to expand the frontiers of knowledge. The university has a strong commitment to applying knowledge in service to society, both near its North Carolina campus and around the world.
When will I have access to the lectures and assignments?
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.
What will I get if I subscribe to this Specialization?
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.
Is financial aid available?
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.