Coding & Cookies

Single Cookie

Everything is better with cookies. Especially data.

Good data management practices are becoming increasingly important in the digital age. Because we now have the technology to freely share research data, and also because funding agencies want to do more with decreasing research funds, many funding agencies and journals require authors and grantees to share their research data. Coding & Cookies sessions are focused on coding in R, a programming language for statistical computing and graphics.

Coding & Cookies is offered in collaboration with the Department of Statistics. Workshops will be led by experienced statistics graduate students and facilitated by the Morgan Library Data Management Specialist.

New to R or RStudio? We encourage you to attend the first session, R Basics. A basic working knowledge of R and RStudio is helpful to get the most out of the rest of the sessions.

Sessions are free, but space is limited to 30 attendees. 

Got your eID ready?  Register for Coding & Cookies.

Spring 2019 Sessions

Sessions are held at Morgan Library, Computer Classroom 175

R basics

Learning how to code can be intimidating, but will save you time and effort in the long run. In the R basics Coding and Cookies session, the basics of using of tabular data in R studio will be discussed. By the end of this session, you will be able to load data into R, calculate summary statistics, and create exploratory graphs using R’s basic graphics package. This session is geared toward beginners, so if you have experience using R, this may not be the class for you.

February 19th, 10:00-11:30 a.m.
Instructor: Charlie Vollmer

Reproducible reports using RMarkdown

Documenting your analysis in a way that is understandable to a colleague (or yourself 3 months later) can be challenging. One way to make reports more readable, even by people who don’t code, is to alternate human readable text with machine readable code. In this month’s Coding and Cookies session, we will cover creating reproducible reports of this type using knitr. After this session, you will be able to create R markdown documents, add formatted text and executable code blocks, and render the R markdown document into a final report.

March 26th, 2:30-4:00 p.m.
Instructor: Alex Fout

Data Visualization using ggplot2

So you’re familiar with R, but want to do more with your plots than the base graphics package.  In this month’s Coding and Cookies, the ggplot2 package in R will be discussed. After this session, you will be able to create a variety of plot types, alter their aesthetics, and create custom themes. A working knowledge of R and R studio and dplyr would be helpful for you to get the most out of this session.

April 16th, 10:00-11:30 a.m.
Instructor: Josh Hewitt

Version control using Git

We’ve all intuitively used some type of version control in our work such as saving multiple versions of a document. While easy, it can cause file bloat and ultimately become more complicated. Luckily, formal version control systems have been developed to streamline this process. In this month’s Coding and Cookies session, we will be covering version control using Git. After this session, you’ll be able to create a Git repository, make and add changes to the repository, and use GitHub to remotely store your repository.

May 7th, 10:00-11:30 a.m.
Instructor: Alex Fout