Skip to main content
HomeR

Reporting with R Markdown

4.6+
20 reviews
Intermediate

R Markdown is an easy-to-use formatting language for authoring dynamic reports from R code.

Start Course for Free
4 hours14 videos49 exercises39,569 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

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

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies


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.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.
  1. 1

    Getting Started with R Markdown

    Free

    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.

    Play Chapter Now
    Introduction to R Markdown
    50 xp
    Creating your first R Markdown file
    100 xp
    Adding code chunks to your file
    100 xp
    Adding and formatting text
    50 xp
    Formatting text
    100 xp
    Adding sections to your report
    100 xp
    Including links and images
    50 xp
    The YAML header
    50 xp
    Editing the YAML header
    100 xp
    Formatting the date
    100 xp
  2. 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.

    Play Chapter Now
  3. 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.

    Play Chapter Now
  4. 4

    Customizing the Report

    In this final chapter, you'll learn how to customize your report by adding a table of contents and adding a CSS file to the YAML header, to personalize reports with your brand’s fonts and colors. You'll also learn how to efficiently create new reports from your data using parameters, which will save you time from manually updating existing reports to create new ones.

    Play Chapter Now
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

datasets

Investment Services ProjectsInvestment Annual Summary

collaborators

Collaborator's avatar
Maggie Matsui
Amy Peterson HeadshotAmy Peterson

Head of Analytics and Data Science Curriculum at DataCamp

Amy leads the Analytics and Data Science Curriculum team, which focuses on creating courses, practice pools, and projects. She was previously a Content Developer and a Curriculum Manager at DataCamp, working with instructors to develop data science content spanning various topics in Python, R, SQL, and Spreadsheets. Amy enjoys combining her interests in teaching and data to make data skills more accessible.
See More

Don’t just take our word for it

*4.6
from 20 reviews
75%
15%
10%
0%
0%
Sort by
  • Dalaí A.
    4 months

    Excelente curso para conocer los principales componentes y conceptos básicos para elaborar y configurar el Reporte Markdown con R.

  • Jerad T.
    10 months

    This course is exactly what I was looking for: an introduction into how to use R Markdown. Through the course I also gained an appreciation of just how powerful R Markdown can be, and I’m say working on developing a personal project using R Markdown. Thanks!

  • CS B.
    over 1 year

    I thought the course was a great introduction to RMarkdown! It would've been great to add another section or two about knitting to Word and Powerpoint.

  • Roberto M.
    over 1 year

    great course - will improve R reports greatly

  • Nguyễn K.
    over 1 year

    Great course !

"Excelente curso para conocer los principales componentes y conceptos básicos para elaborar y configurar el Reporte Markdown con R."

Dalaí A.

"This course is exactly what I was looking for: an introduction into how to use R Markdown. Through the course I also gained an appreciation of just how powerful R Markdown can be, and I’m say working on developing a personal project using R Markdown. Thanks!"

Jerad T.

"I thought the course was a great introduction to RMarkdown! It would've been great to add another section or two about knitting to Word and Powerpoint."

CS B.

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

Create Your Free Account

GoogleLinkedInFacebook

or

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