R Markdown is a module within RStudio that combines data analysis, data visualization and documentation into one! R Markdown documents are fully reproducible and support dozens of static and dynamic output formats including HTML, PDF, MS Word, Beamer and many more. In this session, you will learn how to create an HTML document with some ggplot2 charts along with text desccriptions of the data using the OFM Popualtion data already explored in previous modules.
Date: 02-02-2021
Instructor: Craig Helmann
Assistants: Hana Ševčíková, Christy Lam, Suzanne Childress, Polina Butrina
Prerequisites
R and the RStudio IDE are required. See the first module on R Basics for guidance.
The libraries we will be using today are either pre-installed with R Studio or were used in the previous two sessions. If you did not attend them then please follow the instructions below to install the neccessary libraries to your computer.
1. Please install the following libraries by running the following code
snippet in the console of
your RStudio IDE. Ignore any warnings regarding Rtools
and if you are asked to install from sources which needs compilation, click 'No'.
install.packages(c("tidyverse", "openxlsx", "scales", "plotly"))