nuitrcs / NSIR-writing-reusable-code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Workshop on Writing Reusable R code

Taught by Ritika Giri Spring Quarter of 2024 Northwestern University's Research Computing and Data Services as part of the Next Steps in R workshop series.

Getting Started

  • Download the materials to your machine by clicking on the green "Code" button on the top right and selecting "Download ZIP".
  • Unzip the downloaded folder, and double-click on the .RProj file to open up the R Project in RStudio.
  • Open nsir-writing-reusable-code.qmd and work through the materials.

Concepts

  • Documenting well
  • Organizing project files
  • Script everything
  • DRY - Don't repeat yourself
  • Automate what you can
  • Environment and version control

Components

  • README.md markdown file outlining the repository
  • .Rproj folder maintaining an R Project for this directory
  • nsir-writing-reusable-code.qmd Quarto document with the workshop contents
  • utilities.R Rscript for demonstrating source()

Required Installs

  • R and RStudio

About


Languages

Language:R 100.0%