knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

DoSStoolkit

The DoSS Toolkit is a bunch of self-paced modules to help you learn and use R.

We all know that R is a critical part of applied statistics and data science these days, but it can have a steep learning curve and be intimidating to get started with.

The Department of Statistical Sciences (DoSS) toolkit is a free series of open source online modules written by undergraduates, that their fellow students and the public can use to learn the essentials of R.

How to use this resource

If you have never used R before

You use this resource by running R code! This may sound intimidating if you've never used R before, so we've made a video that walks through what you need to do.

Get started by going to R Studio Cloud - https://rstudio.cloud - and creating an account. When you've signed up, start a new project, and copy-paste the code below to install packages. (If you already have R and R Studio working on your local computer then you don't have to use R Studio Cloud, you can install the packages on your local machine instead.)

install.packages('tidyverse')
install.packages('remotes')
install.packages('opendatatoronto')
remotes::install_github("rstudio-education/gradethis")

Then you can install the DoSStoolkit:

remotes::install_github("RohanAlexander/DoSStoolkit")

You'll use the function run_tutorial to run each module. At the moment we have nine modules. So you can pick one to start with. For instance, if you wanted to run the 'hello world' module then run:

learnr::run_tutorial("hello_world", package = "DoSStoolkit")

If you already have R and R Studio on your computer

You can install DoSStoolkit from GitHub with:

# install.packages("devtools")
devtools::install_github("RohanAlexander/heapsofpapers")

# install.packages('tidyverse')
# install.packages('remotes')
# install.packages('opendatatoronto')
remotes::install_github("rstudio-education/gradethis")

Then you can install the DoSStoolkit:

remotes::install_github("RohanAlexander/DoSStoolkit")

You'll use the function run_tutorial to run each module. At the moment we have ten modules. So you can pick one to start with. For instance, if you wanted to run the 'hello world' module then run:

learnr::run_tutorial("hello_world", package = "DoSStoolkit")

Content

We have ten modules. A complete collection is here:

learnr::run_tutorial("hello_world", package = "DoSStoolkit")
learnr::run_tutorial("operating_in_an_error_prone_world", package = "DoSStoolkit")
learnr::run_tutorial("holding_the_chaos_at_bay", package = "DoSStoolkit")
learnr::run_tutorial("hand_me_my_plyrs", package = "DoSStoolkit")
learnr::run_tutorial("totally_addicted_to_base", package = "DoSStoolkit")
learnr::run_tutorial("he_was_a_d8er_boi", package = "DoSStoolkit")
learnr::run_tutorial("to_ggplot_or_not_to_ggplot", package = "DoSStoolkit")
learnr::run_tutorial("r_marky_markdown", package = "DoSStoolkit")
learnr::run_tutorial("git_outta_here", package = "DoSStoolkit")
learnr::run_tutorial("indistinguishable_from_magic", package = "DoSStoolkit")

Hello world!

How to run this module:

learnr::run_tutorial("hello_world", package = "DoSStoolkit")

Module content:

Operating in an error prone world

How to run this module:

learnr::run_tutorial("operating_in_an_error_prone_world", package = "DoSStoolkit")

Module content:

Holding the chaos at bay

How to run this module:

learnr::run_tutorial("holding_the_chaos_at_bay", package = "DoSStoolkit")

Module content:

Hand me my plyrs

How to run this module:

learnr::run_tutorial("hand_me_my_plyrs", package = "DoSStoolkit")

Module content:

Totally addicted to base

How to run this module:

learnr::run_tutorial("totally_addicted_to_base", package = "DoSStoolkit")

Module content:

He was a d8er boi

How to run this module:

learnr::run_tutorial("he_was_a_d8er_boi", package = "DoSStoolkit")

Module content:

To ggplot or not to ggplot

How to run this module:

learnr::run_tutorial("to_ggplot_or_not_to_ggplot", package = "DoSStoolkit")

Module content:

R Marky Markdown and the Funky Docs

How to run this module:

learnr::run_tutorial("r_marky_markdown", package = "DoSStoolkit")

Module content:

Git outta here

How to run this module:

learnr::run_tutorial("git_outta_here", package = "DoSStoolkit")

Module content:

Indistinguishable from magic

How to run this module:

learnr::run_tutorial("indistinguishable_from_magic", package = "DoSStoolkit")

Module content:

Contributors

Pedagogical underpinnings

Coming soon.

Acknowledgements

We gratefully acknowledge the support of Professor Bethany White, Chair Radu Craiu, and the U of T Faculty of Arts & Sciences Pedagogical Innovation and Experimentation Fund.

We'd like to acknowledge the help of:

We'd like to thank Alex Cookson for his collection of datasets.

This toolkit builds on, and complements, the work of many others, including:

Rohan would like to thank Greg Wilson, for sharing his experience, thoughts, and leadership.

References

We draw on the open-source statistical programming language R and a variety of packages. We are grateful for the work that we build on.

Related packages

Next steps

Citation

We have a pre-print coming soon.

How to contribute

The best way to contribute fixes and minor typos is to make a pull request on GitHub.

If you are interested in contributing lessons or modules, then please contact Rohan Alexander. We are particularly interested in partnering with an institution where the language of instruction is French to develop a French language version.

Contact

Please contact Rohan (rohan.alexander@utoronto.ca) with any questions, comments, and suggestions.



RohanAlexander/DoSStoolkit documentation built on May 26, 2021, 1:44 a.m.