
The most important work in an analysis often happens before modelling begins. Dates arrive as text, categories use inconsistent spellings, and tables do not line up in the way a question requires. This course develops the practical skills needed to import, reshape and clean data in R. It is useful when you can write basic code but need a more systematic way to turn a messy source into an analysis-ready dataset.
Quick answer: Data Science: Wrangling is an English-language Harvard course with a free audit route. This guide explains the skills, preparation and practical next steps.
Independent guide by the Coursya Editorial Team. Sources reviewed .
+ Course guide contents
Course facts at a glance
| Official course | Data Science: Wrangling |
|---|---|
| Provider / school | Harvard T.H. Chan School of Public Health |
| Instructor | Rafael Irizarry |
| Platform | edX |
| Language | English |
| Level | Introductory |
| Length / pace | 8 weeks long; self-paced |
| Study estimate | 1 – 2 hours per week |
| Free access | Free audit; optional paid certificate |
What you will learn and the skills you can build
- Import data from different formats and reshape it into tidy tables.
- Use dplyr and the tidyverse for practical data preparation.
- Process text with regular expressions and work with dates and times.
- Understand how HTML parsing and web data fit into a collection workflow.
Who should take this course?
R learners, analysts and research staff handling recurring data deliveries. It also suits professionals who want to replace undocumented manual cleaning steps with a repeatable script that a colleague can review.
Preparation and entry knowledge
Complete an introduction to R or gain equivalent familiarity with vectors, tables, functions and indexing. Coursya recommends working with a small sample before scaling to a large file. Review the source's documentation and reuse terms before collecting data from a website.
Preparation suggestions in this guide are Coursya's editorial advice. Review the live syllabus for required software, readings, formal prerequisites and any changes to course access.
Is the course free, and what about the certificate?
Harvard lists a free audit route for this course. On the enrollment page, select the audit or free-learning option where available and check what it includes before choosing an upgrade. Access periods and available activities can differ from the paid track, so review the current terms for your account.
A verified certificate is not included in the free audit route. The provider offers an optional paid upgrade under its current terms. Completing a free course does not by itself award a Harvard degree or the entire professional certificate programme. Coursya does not issue Harvard credentials.
How to study this course effectively
- Inspect the raw data before changing it. Identify the unit of observation, expected columns, missing-value conventions and unusual formats.
- Write small transformations and verify each one. Preserve the original input so you can trace how a final value was produced.
- When combining tables, identify the join keys and expected relationship. Compare row counts and investigate unmatched or duplicated keys.
- Create a validation summary for the cleaned output. Explain both the transformations performed and the unresolved limitations.
Independent practice: turn learning into a useful result
Combine two permitted sample files containing project or service records with inconsistent category names and date formats. Preserve the originals and create a cleaning script that standardizes labels, parses dates and checks identifiers. Add a small table reporting missing fields, duplicates and unmatched joins. Explain how each issue was handled and which records still require review. A useful final deliverable includes the cleaned dataset, the code and a concise data dictionary rather than only a polished dashboard.
Suggested deliverable: A repeatable cleaning pipeline with validation results, a data dictionary and documented decisions.
Make the pipeline fail clearly when an expected column disappears or a date cannot be parsed. Silent changes are harder to investigate than explicit checks. Write a short note explaining which assumptions are stable and which should be reviewed when a new file arrives. This is especially valuable when handing a recurring report to another person.
This is an original Coursya practice suggestion, not an official Harvard assignment, assessment or certificate requirement.
A mistake to avoid
A successful join can silently multiply rows when keys are not unique. Inspect the expected relationship before merging and compare counts afterwards. Do not remove duplicate rows automatically without understanding whether they represent repeated events.
What to study before and after this course
The following links are optional Coursya study recommendations. Choose preparation that fills a gap and a next step that fits your goal; this is not an official mandatory Harvard sequence.
Useful preparation
Possible next steps
Frequently asked questions
Is this Harvard course free?
Harvard lists a free audit route for this course. On the enrollment page, select the audit or free-learning option where available and check what it includes before choosing an upgrade. Access periods and available activities can differ from the paid track, so review the current terms for your account.
Does free access include a certificate?
A verified certificate is not included in the free audit route. The provider offers an optional paid upgrade under its current terms. Completing a free course does not by itself award a Harvard degree or the entire professional certificate programme. Coursya does not issue Harvard credentials.
How much time should I plan?
8 weeks long. Harvard lists 1 – 2 hours per week. Allow extra practice time if the tools or subject are new to you; the estimate is not a guaranteed personal completion time.
Is data wrangling just deleting incomplete rows?
No. It includes importing, structuring, interpreting and validating data. Missing values may be meaningful, and deleting them without justification can distort the analysis.
Can I use the independent exercise in a portfolio?
You can develop your own permitted-data exercise and explain your contribution. Clearly distinguish it from official course assessment, respect source licences and do not claim a credential you have not earned.
Main instruction language: English
Learner reviews
Tell other learners what you actually tried. Reviews are moderated and may come from learners who have started or completed the course.
No published learner reviews yet.
Sign in to write a reviewQuestions still belong in the discussion below. Review and ranking rules.