Reproducibility and open scientific practices are increasingly being requested or required of scientists and researchers, but training on these practices has not kept pace. This course intends to help bridge that gap and covers the fundamentals and workflow of data analysis in R.
This repository contains the lesson, lecture, and assignment material for the course, including the website source files and other associated course administration files.
For more detail on the course, check out the syllabus.
The lectures and lessons in this course are designed to be presented primarily with a participatory live-coding approach. This involves an instructor typing and running code in RStudio in front of the class, while the class follows along using their own computers. Challenges are interspersed in the lesson material, allowing participants to collaboratively work on smaller coding problems for a few minutes. All lesson materials are provided ahead of time on the course website for participants to refer to during lectures. Throughout the course, participants are in small groups and are encouraged to help each other out in completing the exercises.
The teaching material is found mainly in the project folders:
preamble/
: Contains the syllabus and the schedule files.sessions/
: Contains the code-along teaching material, as well as
associated links to the lecture slides.slides/
: Contains the slides, created as Revealjs HTML slides by
using Quarto.appendix/
: Contains the supplemental or secondary content.The website is generated from Quarto, so follows the file and folder structure conventions from that package.
Packages used and depended on for this course are included in the
DESCRIPTION
file. To install the packages, run this function in the
root directory (where the r-cubed-advanced.Rproj
file is located:
# install.packages("pak")
pak::pak()
You might need to connect to GitHub via a personal access token if you encounter a "rate limit" when installing packages:
# usethis::create_github_token()
gitcreds::gitcreds_set()
For Linux users (and maybe Mac?), you will probably need to install extra dependencies:
sudo apt install libglpk-dev libpoppler-cpp-dev
If you are interested in contributing to the course material, please refer to the contributing guidelines. Please note that the project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.