Foundations of R Programming and Basic Data Manipulation
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Foundations of R Programming and Basic Data Manipulation
This course is part of R Ultimate 2024 - R for Data Science and Machine Learning Specialization
1,828 already enrolled
Included with
Learn more
Ask Coursera
Recommended experience
Recommended experience
What you'll learn
Recall the steps to install and configure R and RStudio
Explain how to manipulate various data types and structures in R
Use operators, loops, and functions to write efficient R code
Assess advanced data manipulation techniques such as piping, filtering, aggregation, reshaping, and joining datasets
Skills you'll gain
Tools you'll learn
Details to know
5 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 7 modules in this course
Updated in May 2025.
This course now features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Embark on a transformative journey into R programming and data manipulation with this comprehensive course. It starts with an in-depth overview of R and RStudio, covering installation, configuration, and key features. You'll master navigating RStudio, managing projects, and handling diverse file formats for efficient workflows. The course delves into Rmarkdown for dynamic documentation, blending code, narrative, and visualizations. You'll explore essential data types and structures through hands-on labs, including matrices, arrays, lists, data frames, strings, and DateTime objects. The R programming section covers operators, loops, and functions, enabling you to write clean, modular code. Advanced topics include data import/export, web scraping, and sophisticated data manipulation techniques using piping, filtering, aggregation, reshaping, and joining datasets. You'll create impactful visualizations with ggplot2, plotly, leaflet, and dygraphs. Ideal for aspiring data scientists, analysts, and professionals, this course requires a basic programming understanding and targets beginners to intermediate learners, ensuring you transform raw data into actionable insights and compelling visualizations.
In this module, we will embark on a guided tour of the course layout, covering essential tools and resources like R, RStudio, and course code access. We will also establish our project setup and understand various file formats, culminating in dynamic documentation using Rmarkdown.
What's included
6 videos2 readings
6 videosβ’Total 45 minutes
- Introduction to the Specializationβ’5 minutes
- R and RStudio (Overview and Installation)β’10 minutes
- How to Get the Code?β’2 minutes
- RStudio Introduction / Project Setupβ’10 minutes
- File Formatsβ’9 minutes
- Rmarkdown Labβ’9 minutes
2 readingsβ’Total 20 minutes
- Introduction to the Course 'Foundations of R Programming and Basic Data Manipulation'β’10 minutes
- Full Specialization Resourcesβ’10 minutes
In this module, we will delve into fundamental data types and structures in R. From basic types like integers and logical values to complex structures like matrices, arrays, and data frames, we will explore and manipulate these elements to build a solid data science foundation.
What's included
8 videos
8 videosβ’Total 102 minutes
- Basic Data Types 101β’7 minutes
- Basic Data Types Labβ’15 minutes
- Matrices and Arrays Labβ’7 minutes
- Listsβ’8 minutes
- Factorsβ’14 minutes
- Dataframesβ’9 minutes
- Strings Labβ’24 minutes
- Datetimeβ’17 minutes
In this module, we will explore the core programming constructs in R. We will cover operators, loops, and functions, providing both theoretical understanding and practical experience through labs, enabling us to automate tasks and write efficient code.
What's included
6 videos1 assignment
6 videosβ’Total 48 minutes
- Operatorsβ’8 minutes
- Loops 101β’5 minutes
- Loops Labβ’9 minutes
- Functions 101β’5 minutes
- Functions Lab (Introduction)β’1 minute
- Functions Lab (Coding)β’19 minutes
1 assignmentβ’Total 15 minutes
- Assessment 1β’15 minutes
In this module, we will learn to handle data import and export processes in R. From fetching data from diverse origins to saving and sharing results, we will also explore web scraping techniques to extract valuable information from online sources.
What's included
4 videos
4 videosβ’Total 22 minutes
- Data Import Labβ’9 minutes
- Data Export Labβ’5 minutes
- Web Scraping Introductionβ’1 minute
- Web Scraping Labβ’7 minutes
In this module, we will master essential data manipulation techniques in R. We will learn to construct efficient data pipelines, filter data subsets, aggregate large datasets, and reshape data structures. Labs will reinforce our practical skills through real-world challenges.
What's included
11 videos1 assignment
11 videosβ’Total 61 minutes
- Piping 101β’3 minutes
- Filtering 101β’6 minutes
- Filtering Labβ’11 minutes
- Data Aggregation 101β’5 minutes
- Data Aggregation Labβ’5 minutes
- Data Reshaping 101β’3 minutes
- Data Reshaping Labβ’12 minutes
- Set Operations 101β’2 minutes
- Set Operations Labβ’2 minutes
- Joining Datasets 101β’8 minutes
- Joining Datasets Labβ’6 minutes
1 assignmentβ’Total 15 minutes
- Assessment 2β’15 minutes
In this module, we will explore data visualization techniques using R. From static plots with ggplot2 to interactive visualizations with plotly and leaflet, we will learn to communicate data insights effectively. Practical labs will enhance our skills in creating compelling visual narratives.
What's included
9 videos
9 videosβ’Total 72 minutes
- Visualization Overviewβ’3 minutes
- ggplot 101β’11 minutes
- ggplot Labβ’18 minutes
- plotly Lab (Introduction)β’2 minutes
- plotly Labβ’13 minutes
- leaflet Lab (Introduction)β’2 minutes
- leaflet Labβ’10 minutes
- dygraphs Lab (Introduction)β’1 minute
- dygraphs Labβ’11 minutes
In this module, we will tackle advanced data manipulation techniques. We will learn to detect and manage outliers and missing data, ensuring robust analyses. Additionally, we will explore regular expressions for powerful text data manipulation, enhancing our data processing capabilities.
What's included
8 videos1 reading3 assignments
8 videosβ’Total 78 minutes
- Outlier Detection 101β’12 minutes
- Outlier Detection Lab (Introduction)β’1 minute
- Outlier Detection Solutionβ’20 minutes
- Missing Data Handling 101β’6 minutes
- Missing Data Handling Lab (Introduction)β’1 minute
- Missing Data Handling Lab (1/1)β’17 minutes
- Regular Expressions 101β’4 minutes
- Regular Expressions Labβ’16 minutes
1 readingβ’Total 10 minutes
- Conclusion to the Course 'Foundations of R Programming and Basic Data Manipulation'β’10 minutes
3 assignmentsβ’Total 90 minutes
- Assessment 3β’15 minutes
- Full Course Assessmentβ’60 minutes
- Full Course Practice Assessmentβ’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.
Instructor
Offered by
Explore more from Data Analysis
- Status: Free TrialC
Coursera
Course
- Status: Free Trial
- Status: Free TrialJ
Johns Hopkins University
Course
Why people choose Coursera for their career
Frequently asked questions
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. Youβll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. Youβll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
More questions
Financial aid available,
