workr
is a package to house a series of R workshops authored by Graduate Center Digital Fellows Connor French and Natalie O'Shea. The workshops are in service of the CUNY Graduate Center Digital Initiatives, which "brings together the work of leading scholars and technologists at the CUNY Graduate Center to pioneer new modes of inquiry that integrate digital tools and methods into the research, teaching, and service missions of the university."
There are currently two workshops in the series:
-
Data Wrangling in R. First hosted at the CUNY Graduate Center on 10/22/2019
-
Reproducible Data Analysis in R. First hosted at the CUNY Graduate Center on 2/19/2020
The package will be updated with new workshops as they become available.
These workshops rely on the tidyverse
and learnr
packages, so be sure to install those packages if you haven't already.
In your R console:
# If you haven't, please install the remotes R package
install.packages("remotes")
# with devtools installed, run this command to install the package
remotes::install_github("natalieoshea/workr", build_vignettes = TRUE)
To complete a workshop, use one of the following functions that corresponds to your desired workshop in your R console. The list of functions will be updated as more workshops get added
# Load the package
library(workr)
# Data Wrangling in R Workshop
run_data_wrangling()
# Reproducible Data Analysis in R Workshop
run_repro_analysis()
After that, you should be good to go!
We will post slide decks for each tutorial here for your convenience.