Setup Pre-requisites:
In this block we’re going to really get into the nuts and bolts of coding in R. We’re first going to start by discussing how your computer sorts files and folders, and will delve into the world of file paths as a common area that people struggle with when first learning a coding language. We will then jump into R, and will look at the Tidyverse package as a great set of tools to start working with data, and will import, or “read in” our first dataset in R. We will then look at changing the column names of a dataset to match best naming practices, and will save our first dataset, which is an updated version of the original. We will then address the different data types and structures in R, and will recode a few different variables to friendlier formats, which is a very common part of data cleaning, and will save another version of our data. We will finish the session by updating our documentation to account for the new files that we have created.
Below you’ll find the overarching learning objectives for Block 4, as well as an overview of each session.
By the end of this block, you will be able to:
.csv and .RData
formats