Training Course Details

Reporting with R Markdown

Course Level: Intermediate

Do you want to dynamically create static or interactive documents? Do you want your reports to automatically update when the data changes? Then this session is for you! R Markdown is easy to use, allows for dynamic report generation and produces some really great results. Whether you are hoping to generate HTML, PDF or Microsoft Word like documents, or even slides for a presentation, R Markdown tailors to your needs.

The course commences with an introduction to Markdown, where we learn how to customise text layout and formatting, alongside introducing the {knitr} package used to embed R code directly into a document. We then explore methods used to add tables, images and plots to documents, and learn how to parameterise our reports, such that documents compile with constrained input values. We use this foundation to create interactive, client-side dashboards using the {flexdashboard} package and HTML widgets

No Events Currently Scheduled

Sorry, there are no upcoming events for this course, but please get in touch if you would like to be kept informed when events are scheduled in the future.

View our full training course calendar >>

Course Details

Course Outline

  • R Markdown: Creating documents using Markdown
  • {knitr}: Running dynamic R code
  • {kableExtra} & {DT}: Embedding tabular data into output documents
  • {bookdown}: Writing books and long-form reports with R Markdown
  • {flexdashboard}: Creating interactive dashboards
  • Parameterised reports: Creating flexible reports
  • Widgets:  Exploring interactive HTML widgets

View course PDF

Learning Outcomes

By the end of the day participants will…

  • be able to use Markdown formatting syntax to customise a document
  • have the ability to embed R code into reports using {knitr}
  • have learned how to dynamically embed images, plots and tables to their documents
  • be able to re-render a report by defining default parameter values
  • understand how dashboards and HTML widgets can give them new interactive techniques to view their data

Prior Knowledge

It is expected that participants are already familiar with R. In particular, it assumes basic knowledge of plotting. Attending our Introduction to R course is more than sufficient in providing you with the prerequisite knowledge required for this course.