Skip to main content
HomeR

Course

Reporting with R Markdown

IntermediateSkill Level
4.7+
304 reviews
Updated 03/2022
R Markdown is an easy-to-use formatting language for authoring dynamic reports from R code.
Start Course for Free
RReporting
4 hr
14 videos
49 Exercises
4,150 XP
45,294
Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Group

Training a Team?

Try for Business

Course Description

R Markdown is an easy to use formatting language you can use to reveal insights from data and author your findings as a PDF, HTML file, or Shiny app. In this course, you'll learn how to create and modify each element of a Markdown file, including the code, text, and metadata. You'll analyze data with dplyr, create visualizations with ggplot2, and author your analyses and plots as reports. You’ll gain hands-on experience of building reports as you work with real-world data from the International Finance Corporation (IFC)—learning how to efficiently organize reports using code chunk options, create lists and tables, and include a table of contents. By the end of the course, you'll have the skills you need to add your brand’s fonts and colors using parameters and Cascading Style Sheets (CSS), to make your reports stand out.

Prerequisites

Introduction to the Tidyverse
1

Getting Started with R Markdown

In this chapter, you'll learn about the three components of a Markdown file: the code, the text, and the metadata. You'll also learn to add and modify each of these elements to your own reports, as you create your first Markdown files.
Start Chapter
2

Adding Analyses and Visualizations

In this chapter, you’ll use dplyr to begin to analyze the World Bank IFC datasets and include the analyses in your report. You’ll then create visualizations of the data using ggplot2 and learn to modify how the plots display in your knit report.
Start Chapter
3

Improving the Report

Now that you've learned how to add, label, and modify code chunks, you'll learn about code chunk options. You can use these to determine whether the code and results appear in the knit report. You'll also discover how to create lists and tables to include in your report.
Start Chapter
Reporting with R Markdown
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.7
from 304 reviews
80%
16%
3%
0%
0%
  • Anna
    2 days ago

    The content of the course was nicely prepared. However, not including the course slides or specific error messages when something did not work made the course very tedious, as I used most of the time switching between exercises and the video and while doing so losing progress that I already made on an exercise.

  • Artur
    5 days ago

  • Eddie
    5 days ago

  • Vanesa
    last week

  • Miquel
    2 weeks ago

  • Tianlin
    2 weeks ago

Artur

Eddie

Vanesa

FAQs

What output formats can I create with R Markdown in this course?

You will learn to produce reports as PDF and HTML files. The course also mentions Shiny apps as a possible output format for R Markdown documents.

What dataset is used throughout the course?

You will work with real-world data from the International Finance Corporation to build and customize reports using dplyr for analysis and ggplot2 for visualizations.

Does the course cover how to brand reports with custom styles?

Yes. The final chapter teaches you to add custom fonts and colors using CSS files in the YAML header and efficiently create new reports from templates using parameters.

What are code chunk options and why do they matter?

Code chunk options let you control whether code and results appear in your final report. Chapter 3 covers these options along with creating lists and tables.

What prior R knowledge is needed?

You need to have completed Introduction to the Tidyverse. This gives you the dplyr and ggplot2 skills used throughout the course for data analysis and visualization.

Join over 19 million learners and start Reporting with R Markdown today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.