Materials, code, and slides for R 102 level trainings
This is the GitHub repository for the workshop series called R 102: MasteRing Fundamentals in R, given at the Children’s Hospital of Philadelphia (CHOP) by Arcus Education and the CHOP R User Group.
This repository contains the files you need to be able to complete the exercises in each of the workshop sessions.
Exercises for you to complete are in the exercises folder, and working solutions files are found in solutions.
Welcome to R102! This series is aimed at people who have had a little exposure to the R programming language before, but are still beginners. If you’ve attended a previous Intro to R for Clinical Data Workshop, for example, then these workshops will hopefully be the perfect next step!
If you’re brand new to R, you’re still welcome to attend but you may find it harder to follow along actively with the code.
This workshop series is free and does not require any paid software.
You will need a computer and a robust internet connection, however.
We send out (very brief!) surveys after each workshop to help us to assess what’s working well and what isn’t. We are reading your responses carefully. Thank you very much to everyone who has so far taken the time to respond!
Here are some of the results from our Missing Values in R workshop:
If you see that plot and wish you too could get your level of understanding up to “I am confident in my ability to do it” but you missed the workshop, never fear! The slides, code, and recordings for each workshop are linked on this page under workshop sessions as soon as we have them available.
You’re welcome to attend the whole series, or just pick the dates/topics that work best for you. Material in later sessions will not require you to have been at earlier sessions.
Use this form to register to attend one or more workshop sessions.
For all of the talks, you can work hands-on with the code and see solutions in our Posit.cloud project
Before attending a workshop session, please do the following.
Necessary:
Highly Recommended:
On the day of your workshop, we suggest the following:
The easiest way to do the workshop exercises is to create a free account at https://posit.cloud and then go to our workshop project and make your own permanent copy of this project so you can make changes and work with it later.
Alternately, in Posit Cloud you can also add a new project and select “New Project from Git Repository” and enter the url of this repository, namely https://github.com/arcus/r102.
If you want, you can install R and RStudio Desktop for free on your computer, following the instructions Posit offers. Then you can either:
The files here depend on several R libraries, which you can install using the following command:
install.packages(c(
"tidyverse",
"rmarkdown",
"medicaldata",
"gtsummary"
))
Slides of the teaching presentation that accompany each of the workshop sessions are available and you are welcome to follow along or refer back to them at a later date.
The source code for these slides is included in the directory quarto_slides in this repository.
All of the material in this GitHub repository is copyrighted under the Creative Commons BY-SA 4.0 copyright to make the material easy to reuse. We encourage you to reuse it and adapt it for your own teaching as you like!
Material for some of these sessions was adapted from DART data science learning modules, a project developed by the Arcus Data Education team at CHOP. In particular, the following modules were adapted for workshop sessions:
Three cheers for remixing and reusing open education materials!